Description Usage Arguments Value Author(s) References Examples

Calculate Cronbach's alpha coefficient from a matrix or data.frame with more than 2 columns.

1 |

`X` |
A matrix or data.frame with more than 2 columns. |

Single numeric value of Cronbach's alpha.

Minato Nakazawa [email protected] http://minato.sip21c.org/

Bland JM, Altman DG (1997) Statistics notes: Cronbach's alpha. BMJ, 314: 572.

1 2 3 4 5 | ```
QUEST <- data.frame(
Q1=c(1, 5, 2, 3, 4, 2, 3, 4, 3, 2),
Q2=c(2, 4, 1, 2, 4, 1, 2, 5, 2, 1),
Q3=c(2, 5, 1, 3, 3, 2, 2, 4, 2, 2))
CronbachAlpha(QUEST)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.