# NOT RUN {
# This will make a plot with raincloud; they are better seen rotated: +coord_flip()
superbPlot(ToothGrowth,
BSFactors = c("dose","supp"), variables = "len",
plotStyle="raincloud"
)
# if you extract the data with superbData, you can
# run this layout directly
#processedData <- superbData(ToothGrowth,
# BSFactors = c("dose","supp"), variables = "len"
#)
#
#superbPlot.raincloud(processedData$summaryStatistic,
# "dose",
# "supp",
# ".~.",
# processedData$rawData)
# }
Run the code above in your browser using DataLab