# NOT RUN {
feat1 <- mmb::createFeatureForBayes(
name = "Petal.Length", value = mean(iris$Petal.Length))
feat2 <- mmb::createFeatureForBayes(
name = "Petal.Width", value = mean(iris$Petal.Width))
featT <- mmb::createFeatureForBayes(
name = "Species", iris[1,]$Species, isLabel = TRUE)
cat(mmb::bayesToLatex(conditionalFeatures = rbind(feat1, feat2),
targetFeature = featT, includeValues = TRUE))
# }
Run the code above in your browser using DataLab