Summary by Population or Other Factor
This is an implementation of the generic by
function which applies a function to some data for a each level of a
categorical factor.
## S3 method for class 'loci' by(data, INDICES = data$population, FUN = NULL, ..., simplify = TRUE)
data |
an object of class |
INDICES |
a vector of the same length as the number of rows in |
FUN |
a function |
... |
(currently unused). |
simplify |
(currently unused). |
The default FUN = NULL
calculates allele frequencies for each
population in data
.
a list by default indexed by locus.
Emmanuel Paradis
data(jaguar) by(jaguar) by(na.omit(jaguar))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.