Learn R Programming

smarter (version 1.0.1)

smart_table: smart_table

Description

Should elements passed into table() contain NA or NaN, we want to see them by default.

Usage

smart_table(...)

Value

Return a table

Arguments

...

arguments passed to table

Examples

Run this code

aa = c(1,1,2,2,2,3,NA)
table(aa)
smart_table(aa)

Run the code above in your browser using DataLab