populOTU {MorphoTools2} | R Documentation |
Population Means
Description
This function calculates the average value for each character in each population, with the pairwise deletion of missing data.
Usage
populOTU(object)
Arguments
object |
an object of class |
Details
This function returns morphodata
object, where each population is used as the operational taxonomic unit (OTUs),
thus is represented by single “individual” (row) with average values for each character.
Note that when using populations as OTUs, they are handled with the same weight in all analyses
(disregarding population size, within-population variation, etc.)
Value
an object of class morphodata
with the following elements:
ID |
IDs of each row of |
Population |
population membership of each row of |
Taxon |
taxon membership of each row of |
data |
|
Examples
data(centaurea)
pops = populOTU(centaurea)