Learn R Programming

Momocs (version 1.3.2)

verify: Validates Coo objects

Description

No validation for S3 objects, so this method is a (cheap) attempt at checking Coo objects, Out, Opn and Ldk objects.

Usage

verify(Coo)

Arguments

Coo

any Coo object

Value

a Coo object.

Details

Implemented before all morphometric methods and handling verbs. To see what is checked, try eg Momocs:::verify.Coo

Examples

Run this code
# NOT RUN {
verify(bot)
bot[12] <- NA
verify(bot)

verify(hearts)
hearts$ldk[[4]] <- c(1, 2)
verify(hearts)
# }

Run the code above in your browser using DataLab