# \donttest{
# Example usage:
data(iris)
new_names = c(
"Sepal.Length" = "Sepal length (cm)" ,
"Sepal.Width" = "Sepal width (cm)",
"Petal.Length" = "Petal length (cm)",
"Petal.Width" = "Petal width (cm)",
"Species" = "Cultivar"
)
# Use the whole data.frame to generate a pdf report and don't open the pdf.
f_boxplot(iris, fancy_names = new_names, output_type = "pdf", open_generated_files = FALSE) #
# Use a formula to plot several response parameters (response 1 + response 2 etc)
# and generate a rmd output without boxplot_explanation.
data(mtcars)
f_boxplot(hp + disp ~ gear*cyl,
data=mtcars,
boxplot_explanation = FALSE,
output_type = "word",
open_generated_files = FALSE) # Do not automatically open the 'Word' file.
# }
Run the code above in your browser using DataLab