# NOT RUN {
samp <- mmb::sampleToBayesFeatures(dfRow = iris[15,], targetCol = "Species")
# Convert the sample (as features) back to a sample that can be, e.g.,
# appended to the data again:
row <- mmb::bayesFeaturesToSample(dfOrg = iris, features = samp)
# }
Run the code above in your browser using DataLab