as.table.eda: Convert categorical EDA objects to a table.

View source: R/factor_methods.R

as.table.edaR Documentation

Convert categorical EDA objects to a table.

Description

converts factor-type EDA objects to a table. For numeric-type ones NULL is returned and a warning generated.

Usage

## S3 method for class 'eda'
as.table(x, scale = c("none", "fraction", "percent"))

Arguments

x

an EDA object, created by eda

scale

content of the output table: 'fraction' returns fraction of total, 'percent' returns percentages of all observations. Defaults to none.

Value

a table object.


PiotrTymoszuk/ExDA documentation built on Nov. 17, 2024, 5:46 p.m.