Last data update: 2014.03.03

R: Remove incomplete specimens from a landmark dataset
complete.specimensR Documentation

Remove incomplete specimens from a landmark dataset

Description

This function takes a dataset containing both complete and incomplete specimens and removes all incomplete specimens.

Usage

complete.specimens(dataset, nlandmarks)

Arguments

dataset

A n* l X 2 matrix of coordinate data, where n is the number of specimens and l is the number of landmarks. All landmarks from one specimen should be grouped together.

nlandmarks

The number of landmarks per specimen

Value

Returns an c * l X 2 matrix of landmark data, where c is the number of complete specimens and l is the number of landmarks.

Author(s)

J. Arbour

References

Arbour, J. and Brown, C. In Press. Incomplete specimens in Geometric Morphometric Analyses. Methods in Ecology and Evolution

See Also

align.missing,codeMissingGeoMorph

Results