Creating sum scales in R - Using mutate and across in dplyr
1.4 هزار بار بازدید -
2 سال پیش
-
learning objectiveswhat rowSums doeswhat arguments
learning objectives
what rowSums does
what arguments rowSums requires
how to use rowSums within mutate
why we need multiple mutate statements
practice:
with the same dataset:
recode a-e to be 10-15
reverse code mssi2-mssi6 and dep1:dep3
create sum scales for sf_a/b/c using different rules (you choose)
practice dataset: quantpsych.net/data/data_satisfaction.csv
R code: quantpsych.net/data/10b-advanced dplyr. R
what rowSums does
what arguments rowSums requires
how to use rowSums within mutate
why we need multiple mutate statements
practice:
with the same dataset:
recode a-e to be 10-15
reverse code mssi2-mssi6 and dep1:dep3
create sum scales for sf_a/b/c using different rules (you choose)
practice dataset: quantpsych.net/data/data_satisfaction.csv
R code: quantpsych.net/data/10b-advanced dplyr. R
2 سال پیش
در تاریخ 1401/03/03 منتشر شده
است.
1,494
بـار بازدید شده