Learn R Programming

jmvcore (version 2.6.3)

naOmit: 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