# NOT RUN {
get_mc_score(
predilection_score = c(7, 7.5, 5, 8, 4),
adequacy_score = c(NA, 5, 3, 1, 4),
intrinsic_motivation_score = c(5, 7.5, 4, 2, 3.5),
pa_competence_score = c(6, 3, 6, 7, 2)
)
# [1] 24.0 23.0 18.0 NA 13.5
# }
Run the code above in your browser using DataLab