Description Usage Arguments Author(s) References Examples
Generate plot related to alpha. Three plot can be generated. (1) The weight plot will plot the weight associated with alpha calculation. (2) Profile plot will plot the cases with smallest weights and the average value. (3) The diagnostic plot plots the alpha according to different values of the tuning parameter.
1 2 |
x |
Results from the function |
type |
Three types of plots can be generated. |
profile |
Number of cases used on the profile plot. At most 10. |
interval |
The interval used in the diagnostic plot. The default is 0.01. |
center |
Whether to center the data in the profile plot. |
pos |
Position of legend. If pos=NULL, no legend is plotted. |
... |
Options can be passed to the |
Zhiyong Zhang and Ke-Hai Yuan
Zhang, Z. & Yuan, K.-H. (2013). Robust Cronbach's alpha.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | data(holzinger)
spatial<-holzinger[, c('visual', 'cubes', 'paper', 'lozenge', 'paperrev','flagssub')]
verbal<-holzinger[, c('general', 'paragrap', 'sentence', 'wordc', 'wordm')]
speed<-holzinger[, c('add', 'code', 'counting', 'straight')]
memory<-holzinger[, c('wordr', 'numberr', 'figurer', 'object', 'numberf', 'figurew')]
alpha.spatial<-cronbach(spatial)
## diagnostic plot
plot(alpha.spatial, type='d')
## alpha with varphi=.01 & standard error
alpha.spatial<-cronbach(spatial, varphi=.01, se=TRUE)
## confidence interval
summary(alpha.spatial)
## weight plot
plot(alpha.spatial)
# or
plot(alpha.spatial, type='w')
## profile plot
plot(alpha.spatial, type='p')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.