Converts all columns in a data.frame that are factors to character, except for the target column.

bayesConvertData(df)

Arguments

df

data.frame to be used for bayesian inferencing.

Value

the same data.frame with all factors converted to character.

Examples

df <- mmb::bayesConvertData(df = iris)