rvary2 | R Documentation |
5 different raters could rate 10 subjects with levels 1, 2, 3
rvary2
A tibble with 10 observations (1, 2, 3) on 5 variables representing different raters and one variable for subject ID.
Subject ID
a factor including the diagnoses of rater 1 (levels see above)
a factor including the diagnoses of rater 2 (levels see above)
a factor including the diagnoses of rater 3 (levels see above)
a factor including the diagnoses of rater 4 (levels see above)
a factor including the diagnoses of rater 5 (levels see above)
Datasets for Stata Base Reference Manual, Release 13
Datasets for Stata Base Reference Manual, Release 13
rvary2
library(dplyr)
library(tidyr)
rvary2 %>%
tidyr::gather(.,
key = "rater",
value = "rating",
dplyr::starts_with("rater")) %>%
with(., table(subject, rating))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.