tableNA: Alternative Table Creation

Description Usage Arguments Value Examples

View source: R/tableNA.R

Description

Count the occurrences of each factor level or value in a vector.

Usage

1

Arguments

x

numeric. An atomic vector or a factor.

Value

An object of class "tableNA", which is the result of tabulate() with three attributes:

The number of missing values is always reported.

Examples

1
2
tableNA(c(1,2,2,1,3))
tableNA(c(1,2,2,1,3, NA))

statip documentation built on Nov. 18, 2019, 1:06 a.m.