Description Usage Arguments Value Examples
View source: R/SAVF_categorical_plot.R
: Plots the categorical Single Attribute Value Function (SAVF) graph. Categories may be any value, but category scores must be numeric. The function checks to ensure the total of scores sums to one.
1 | SAVF_cat_plot(categories, scores, fillcolor = "blue")
|
categories |
Vector of categories |
scores |
Numeric vector of catgory scores |
fillcolor |
Fill color for the chart, default is blue |
Categorical SAVF graph
1 | SAVF_cat_plot(c("Tom", "Bill" ,"Jerry"), c(0.1, 0.25, 0.65))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.