spiderchart: spider chart function

View source: R/spiderchart.R

spiderchartR Documentation

spider chart function

Description

Creates a spider chart of the data.

Usage

spiderchart(
  file,
  spider_label,
  spider_data_label,
  title,
  polygon_line_width,
  net_line_type,
  net_line_width,
  primary_color,
  secondary_color,
  tertiary_color,
  quaternary_color
)

Arguments

file

A csv file with the source data

spider_label

Name of the column of the file with the labels of the spider chart

spider_data_label

Name of the column of the file with the data of the spider chart

title

Title of the spider chart

polygon_line_width

Line width of the polygon

net_line_type

Net line type

net_line_width

Net width

primary_color

First color for spider chart

secondary_color

Second color for spider chart

tertiary_color

Third color for spider chart

quaternary_color

Fourth color for spider chart

Details

This function creates a spider chart based on two columns of a file with data.

Value

A spider chart

Author(s)

Ruben Vanhecke

at import fmsb

Examples

  ## Not run: 
     spiderchart("testdata.csv", "
Year", "Quota", "
Annual quota", 4, 2, 2, 
"#004D9A", "#002142", 
"#0069D2", "#0180FF")
  
## End(Not run)




yForecasting/businessplots documentation built on Jan. 8, 2025, 6:26 p.m.