tableNA: Uses the base 'table' function but always checks for NAs

Description Usage Arguments Value Examples

View source: R/helpers.R

Description

Uses the base table function but always checks for NAs

Usage

1

Arguments

...

the object you want to use the table function on

Value

a table

Examples

1
2
3
4
car_copy <- mtcars
car_copy$cyl[c(2, 7, 15)] <- NA
table(car_copy$cyl)
tableNA(car_copy&cyl)

mattmills49/modeler documentation built on May 21, 2019, 1:25 p.m.