Count the number of missing landmarks in an array

Share:

Description

Count the number of missing landmarks in an array

Usage

1

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

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