| qswur_usa | R Documentation |
Classifications and rankings of U.S. universities for the years 2017–2020.
data(qswur_usa)
A tibble of 13 variables on 612 cases:
yearyear of rankings
institutioninstitution of higher learning
sizesize category of institution
focussubject range of institution
resresearch intensity of institution
ageage classification of institution
statusstatus of institution
rk_academicrank by academic reputation
rk_employerrank by employer reputation
rk_ratiorank by faculty–student ratio
rk_citationsrank by citations per faculty
rk_intl_facultyrank by international faculty ratio
rk_intl_studentsrank by international student ratio
Ranking data were obtained from the public QS website.
Quacquarelli Symonds (2021).
Quacquarelli Symonds (2021) "University Rankings". TopUniversities.com https://www.topuniversities.com/university-rankings.
# subset QS data to rank variables
head(qswur_usa)
qs_ranks <- subset(
qswur_usa,
complete.cases(qswur_usa),
select = 8:13
)
# calculate Kendall correlation matrix
qs_cor <- cor(qs_ranks, method = "kendall")
# calculate eigendecomposition
qs_eigen <- eigen_ord(qs_cor)
# view correlations as cosines of biplot vectors
biplot(x = qs_eigen$vectors, y = qs_eigen$vectors, col = c(NA, "black"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.