descrTaxon: Descriptive Statistics In MorphoTools2: Multivariate Morphometric Analysis

Description

These functions calculate the descriptive statistics of each character in the whole dataset, each taxon and each population.

Usage

 1 2 3 4 5 descrTaxon(object, format = NULL, decimalPlaces = 3) descrPopulation(object, format = NULL, decimalPlaces = 3) descrAll(object, format = NULL, decimalPlaces = 3)

Arguments

 object an object of class morphodata. format form to which will be formatted descriptive characters. See Details. decimalPlaces the number of a digit to the right of a decimal point.

Details

The following statistics are computed: number of observations, mean, standard deviation, and the percentiles: 0% (minimum), 5%, 25% (lower quartile), 50% (median), 75% (upper quartile), 95% and 100% (maximum).

The format argument brings a handy way how to receive only what is wanted and in format what is desired. Otherways, if format remains NULL, output table contains all calculated descriptors. The format argument is a single string, where keywords will be replaced by particular values.

Keywords: "$MEAN" = mean; "$SD" = standard deviation; "$MIN" = minimum; "$5%" = 5th percentile; "$25%" = 25th percentile (lower quartile); "$MEDIAN" = median (50th percentile); "$75%" = 75th percentile (upper quartile); "$95%" = 95th percentile; "$MAX" = maximum. Value A data.frame with calculated statistical descriptors. Examples  1 2 3 4 5 6 7 8 9 data(centaurea, decimalPlaces = 3) descrTaxon(centaurea) descrTaxon(centaurea, format = "($MEAN ± $SD)") descrPopulation(centaurea, format = "$MEAN ($MIN -$MAX)") descrAll(centaurea, format = "$MEAN ±$SD ($5% -$95%)")

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