| snell | R Documentation |
This function calculates Snell scores given counts of scores by subpopulation
snell(table)
table |
a frequency table with group labels in rows and the original scores in columns. This can be derived using the buildfreqtable function. |
a vector of scores corresponding to the columns of the input frequency table.
http://140.136.247.242/~stat2016/stat/NoteOnSnellComp.pdf
library(dplyr)
mydata <- data.frame("Groups" = rep(c("A", "B", "C", "D"), 10),
"Scores" = round(runif(40, 0, 5)))
freqtable <- buildfreqtable(data = mydata, trait = "Scores", subgroup = "Groups")
snell(freqtable)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.