smartNum: Smart class to handle numerics as factor

Description Usage Arguments Value

View source: R/smartNum.R

Description

S3 class meant for representing numeric variables that act like factor variables by taking only a few different values. This class is used in makeDataReport() in order to get appropriate summaries, visualizations and checks for such variables. In other words, such variables will be treated like factor variables instead of numerics.

Usage

1

Arguments

v

A numeric vector

Value

A smartNum object that is handled in makeDataReport in the same way as a factor.


dataReporter documentation built on Nov. 11, 2021, 9:06 a.m.