Learn R Programming

RSDA (version 3.2.1)

classic.to.sym: Generate a symbolic data frame

Description

Generate a symbolic data table from a classic data table.

Usage

classic.to.sym(
  x = NULL,
  concept = NULL,
  variables = tidyselect::everything(),
  default.numeric = sym.interval,
  default.categorical = sym.modal,
  ...
)

Value

a [tibble][tibble::tibble-package]

Arguments

x

A data.frame.

concept

These are the variable that we are going to use a concepts.

variables

These are the variables that we want to include in the symbolic data table.

default.numeric

function to use for numeric variables

default.categorical

function to use for categorical variables

...

A vector with names and the type of symbolic data to use, the available types are type_histogram (), type_continuous (), type.set (), type.modal (), by default type_histogram () is used for numeric variables and type_modal () for the categorical variables.

References

Bock H-H. and Diday E. (eds.) (2000). Analysis of Symbolic Data. Exploratory methods for extracting statistical information from complex data. Springer, Germany.