bayesConvertData {mmb}R Documentation

Convert data for usage within Bayesian models.

Description

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

Usage

bayesConvertData(df)

Arguments

df

data.frame to be used for bayesian inferencing.

Value

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

Author(s)

Sebastian Hönel sebastian.honel@lnu.se

Examples

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

[Package mmb version 0.13.3 Index]