naOmit {jmvcore}R Documentation

remove missing values from a data frame listwise

Description

removes all rows from the data frame which contain missing values (NA)

Usage

naOmit(object)

Arguments

object

the object to remove missing values from

Details

this function is equivalent to na.omit from the stats package, however it preserves attributes on columns in data frames


[Package jmvcore version 2.4.7 Index]