Calculate the percentage of missing morphometric data

Share:

Description

Calculates the percentage of morphometric data points that have been replaced with 'NA' by functions such as missing.data, byclade or obliterator from LOST. Used to verify the amount of missing data inputted into complete morphometric matrices.

Usage

1

Arguments

x

A n X m matrix of morphometric data with n specimens and m variables containing some percentage of missing data

Value

Returns the percentage (as a decimal) of missing data points present in x

Author(s)

J. Arbour and C. Brown

References

Brown, C., Arbour, J. and Jackson, D. 2012. Testing of the Effect of Missing Data Estimation and Distribution in Morphometric Multivariate Data Analyses. Systematic Biology 61(6):941-954.

See Also

missing.data

Examples

1
2
3
4
5
6
7
data(crocs)

## remove 30% of data points
croc.miss<-missing.data(crocs,0.3)

## should return 0.3
how.many.missing (croc.miss)