# NOT RUN {
feat1 <- mmb::createFeatureForBayes(
name = "Sepal.Length", value = mean(iris$Sepal.Length))
feat2 <- mmb::createFeatureForBayes(
name = "Sepal.Width", value = mean(iris$Sepal.Width))
# Note how we do not require "Petal.Length" among the features when regressing:
mmb::bayesRegressSimple(df = iris, features = rbind(feat1, feat2),
targetCol = "Petal.Length")
# }
Run the code above in your browser using DataLab