spiderPlotly: Create a Spider graph Plotly object

Description Usage Arguments Details Value Examples

View source: R/visualisations.R

Description

Generic function to create an interactive Spider graph in Plotly

Usage

1
spiderPlotly(dataset, benchmark = mean)

Arguments

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)

Details

The input dataset needs to have:

Value

A plotly object

Examples

1
2
3
4
5
6
# Transforming some data into the format required with the first column containing names
test <- mtcars[1:5,1:7]
test$name <- rownames(test)
test <- test[,c(8,1:7)]

spiderPlotly(test)

ivanliu1989/RQuant documentation built on Sept. 13, 2019, 11:53 a.m.