Description Usage Arguments Details Value Examples
View source: R/visualisations.R
Generic function to create an interactive Spider graph in Plotly
1 | spiderPlotly(dataset, benchmark = mean)
|
dataset |
An input dataset to display in the plot |
benchmark |
The function used to create the benchmark category in the plot (Eg: mean, median, other bespoke function) |
The input dataset needs to have:
First column must be a vector of characters representing the names of categories to be compared
The remaining columns must only contain numeric values that can be converted into spider graph coordinates
A plotly object
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.