numeric2categorical: A function to convert numerical variables to categorical

Description Usage Arguments

View source: R/numeric2categorical.R

Description

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.

Usage

1

Arguments

data

A numerical data set where each variable contains values such as 0, 1, 2, ...


kelvinyangli/mbmml documentation built on June 29, 2020, 3:12 a.m.