View source: R/ACutils_export.R
myboxplot2 | R Documentation |
Useful function to produce boxplot within for loops.
myboxplot2(mydata, myexposure = NULL, myoutcome)
mydata |
tibble the dataset |
myexposure |
string the name of the numerical variable whose boxplot must the produced. |
myoutcome |
string the name of the categorical variable that defines the different levels. One boxplot for each level. |
myboxplot2(mydata = data, myexposure = "treatment", myoutcome = "age")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.