countMissing: Count the number of missing landmarks in an array

Description Usage Arguments Value Examples

View source: R/utils.R

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)

paleomorph documentation built on May 30, 2017, 12:38 a.m.

Search within the paleomorph package
Search all R packages, documentation and source code