na.omit.geomorph.data.frame: Handle missing values in rrpp.data.frame objects

View source: R/geomorph.utils.r

na.omit.geomorph.data.frameR Documentation

Handle missing values in rrpp.data.frame objects

Description

Handle missing values in rrpp.data.frame objects

Usage

## S3 method for class 'geomorph.data.frame'
na.omit(object, ...)

Arguments

object

object (from geomorph.data.frame)

...

further arguments (currently not used)

Author(s)

Michael Collyer

Examples

data(plethspecies)
Y.gpa <- gpagen(plethspecies$land, verbose = TRUE)
gdf <- geomorph.data.frame(Y.gpa)
gdf$d <- Y.gpa$procD
gdf$group <- c(rep(1, 4), rep(2, 4), NA) # one unknown group designation
gdf
ndf <- na.omit(gdf)
ndf

geomorph documentation built on June 24, 2024, 5:07 p.m.