est.reg: A-priori size regression for missing data estimation

est.regR Documentation

A-priori size regression for missing data estimation

Description

Estimates missing data using regression on a designated size variable. Any values of the size variable missing are estimated with the variable best correlated with size.

Usage

est.reg(x, col_indep)

Arguments

x

A n X m matrix of morphometric data with n specimens and m variables, containing some percentage of missing values input as NA

col_indep

The number of the column in which the independant size variable is stored. This column will be used to estimate missing values in the other columns.

Value

Returns a n X m matrix containing both the original morphometric values as well as estimates for all previously missing values.

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

best.reg


LOST documentation built on July 4, 2024, 9:06 a.m.