View source: R/numeric2categorical.R
This function converts numerical variables to categorical (nominal or ordinal) and add the unique values as the levels of each variable. This function is used when the input data set is in numerical format, such as the data sets for the standard real world Bayesian networks ASIAN, ALARM, etc.
1 |
data |
A numerical data set where each variable contains values such as 0, 1, 2, ... |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.