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 morphodata.

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 data object.

Population

population membership of each row of data object.

Taxon

taxon membership of each row of data object.

data

data.frame of individuals (rows) and values of measured morphological characters (columns).

Examples

data(centaurea)

pops = populOTU(centaurea)

[Package MorphoTools2 version 1.0.1.1 Index]