Description Usage Arguments Details Examples
View source: R/lipidome_comparison_visualization.R
'boxplot_by_factor' generates plot with one boxplot per group for each variable
1 | boxplot_by_factor(input_df, factor, out_path = "none")
|
input_df |
a data frame with at least one factor column |
factor |
a string with the column name to group by |
out_path |
optional string. |
A plot with one boxplot per group is generated for all variables of a data frame.
1 2 3 4 5 6 7 | boxplot_by_factor(iris, "Species")
## Not run:
dir.create(paste(getwd(), "/examples", sep = ""), showWarnings = FALSE)
dir <- paste(getwd(), "/examples/iris", sep = "")
boxplot_by_factor(iris, "Species", dir)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.