Description Usage Arguments Value Examples
View source: R/SAVF_categorical_score.R
: Calculates the Single Attribute Value Function (SAVF) score for a categorical value.
1 | SAVF_categorical_score(x, categories, weights)
|
x |
Attribute raw value |
categories |
Vector of categories |
weights |
Numeric vector of category weights |
Categorical SAVF Score
1 | ## Not run: SAVF_categorical_score("Tom", 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.