Hi everyone,
I'm currently working on the following project https://www.core-econ.org/doing-economics/book/text/11-03.html#part-111-summarizing-the-data for the empirical project 11. They even gave us the codes https://www.core-econ.org/wp-content/uploads/2020/04/Doing-Economics-Project-11-R-Markdown.rmd but I have the following issue when I write this part:
psych::alpha(WTP[c("scepticism_2",
"scepticism_6", "scepticism_7")])$total$std.alpha
psych::alpha(WTP[c("cog_1", "cog_2", "cog_3",
"cog_4", "cog_5", "cog_6")])$total$std.alpha
psych::alpha(WTP[c("PN_1", "PN_2", "PN_3",
"PN_4", "PN_6", "PN_7")])$total$std.alpha
and the error says:
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘mnormt’
I'm a beginner in using R, so I don't really know how to fix most of the errors.
Thank you!
Jennifer