Generate a symbolic data table from a classic data table.
classic.to.sym(dataTable, concept, variables, variables.types)
This is the classic data table.
These are the variable that we are going to use a concepts.
These are the variables that we want to inlude in the symbolic data table.
These are the variables symbolic types (continuos, interval, set or histograma) of the variables that we want to inlude in the symbolic data table.
The symbolic data table.
Bock H-H. and Diday E. (eds.) (2000). Analysis of Symbolic Data. Exploratory methods for extracting statistical information from complex data. Springer, Germany.
data(ex1_db2so)
ex1 <- ex1_db2so
result <- classic.to.sym(ex1, concept=c("state", "sex"),
variables=c("county", "group", "age","age"),
variables.types=c("$C", "$I", "$H", "$S"))
result
Run the code above in your browser using DataLab