Description Usage Arguments Value Author(s) Examples
Variability analysis
1 | variability(data, data.var, size.var, VC = TRUE, weight = FALSE)
|
data |
a data frame. |
data.var |
a vector of variable names or of column numbers defining (numeric) variables whose variability will be analyzed by |
size.var |
a vector of variable names or of column numbers defining variables for weights (active only if |
VC |
logical; if |
weight |
logical; if TRUE, calculates weighted variation coefficients and standard deviations. |
A list with the following elements: ranges, standard deviations, variation coefficients, and two dataframes (data, size).
Marco Sandri, Paola Zuccolotto, Marica Manisera (basketballanalyzer.help@unibs.it)
1 2 3 4 5 6 | Pbox.BC <- subset(Pbox, Team=="Oklahoma City Thunder" & MIN >= 500,
select=c("P2p","P3p","FTp","P2A","P3A","FTA"))
list_variability <- variability(data=Pbox.BC, data.var=c("P2p","P3p","FTp"),
size.var=c("P2A","P3A","FTA"), weight=TRUE)
print(list_variability)
plot(list_variability, leg.brk=c(10,25,50,100,500,1000), max.circle=30)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.