populOTU: Population Means

Description Usage Arguments Details Value Examples

View source: R/popul.otu.R

Description

This function calculates the average value for each character in each population, with the pairwise deletion of missing data.

Usage

1
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

1
2
3

MorphoTools2 documentation built on Dec. 11, 2021, 9:55 a.m.