Learn R Programming

forensim (version 2.0)

naomitab: Handling of missing values in a data frame

Description

naomitab handles missing values (NA) in a data frame: it returns a list of the columns where NAs have been removed.

Usage

naomitab(tab)

Arguments

tab
a data frame

Value

  • Returns a list of length the number of columns in tab where each component is a column of tab, and the values are the corresponding rows where NAs have been removed.

encoding

UTF-8

See Also

tabfreq

Examples

Run this code
data(Tu)
naomitab(Tu)

Run the code above in your browser using DataLab