countMissing {paleomorph}R Documentation

Count the number of missing landmarks in an array

Description

Count the number of missing landmarks in an array

Usage

countMissing(A)

Arguments

A

An N x 3 x M array where N is the number of landmarks, 3 is the number of dimensions, and M is the number of specimens.

Value

A length n vector giving the number of missing landmarks for each specimen.

Examples




 A <- array(1:(3*6*7), dim = c(7, 3, 6))
 A[2, , 1] <- NA
 countMissing(A)

[Package paleomorph version 0.1.4 Index]