remove_na: Remove rows with NA values in any of the requested columns

View source: R/utils.R

remove_naR Documentation

Remove rows with NA values in any of the requested columns

Description

Remove rows with NA values in any of the requested columns

Usage

remove_na(df, cols = NULL)

Arguments

df

(data.frame) NEBCS data

cols

(list) list of column names to look for NA values

Value

(data.frame) Same data as df, but with rows with NA values in any of the requested columns removed

Examples

remove_na(df, c('YEAR', 'CIGDUR'))

paulsavala/nebcs documentation built on March 20, 2022, 9:24 a.m.