powered by
No validation for S3 objects, so this method is a (cheap) attempt at checking Coo objects, Out, Opn and Ldk objects.
validate(Coo)
any Coo object
a Coo object.
Implemented before all morphometric methods and handling verbs. To see what is checked, try eg Momocs:::validate.Coo
Momocs:::validate.Coo
# NOT RUN { validate(bot) bot[12] <- NA validate(bot) validate(hearts) hearts$ldk[[4]] <- c(1, 2) validate(hearts) # }
Run the code above in your browser using DataLab