spiderchart | R Documentation |
Creates a spider chart of the data.
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
)
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 |
This function creates a spider chart based on two columns of a file with data.
A spider chart
Ruben Vanhecke
at import fmsb
## Not run:
spiderchart("testdata.csv", "
Year", "Quota", "
Annual quota", 4, 2, 2,
"#004D9A", "#002142",
"#0069D2", "#0180FF")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.