spider_plot | R Documentation |
Produces spider plots highlighting different groups per facet and compares them to the remaining groups.
spider_plot(
data,
elements,
group,
levels = elements,
ribbon = TRUE,
ncol = NULL,
...
)
data |
Dataframe |
elements |
Select the elements to include in the plot as vector. |
group |
Select the grouping of the data set as character variable. This needs to be the name of a column in the data frame. |
levels |
Select sequence of elements. |
ribbon |
If TRUE the fourth and first quantile are summarised to a ribbon, if FALSE single lines for those samples are plotted. |
ncol |
Number of facet columns. |
... |
Arguments passed on to ggplot2::theme(). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.