Skip to content

part of test results missing from feedback #535

Closed Answered by rubenarslan
ukuvainik asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Uku,
formr autodetects which variables you need by checking which surveys are mentioned in the source code and then which variables in the surveys are mentioned. It detects mentions of variable names (e.g., conscientiousness1) and variable name bases (e.g., conscientiousness). It doesn't detect consc, which is what you have. Just write it out, i.e. change this line

  mutate(Cscore=  rowSums(dplyr::select(.,starts_with("consc")),na.rm = T),

to

  mutate(Cscore=  rowSums(dplyr::select(.,starts_with("conscientiousness")),na.rm = T),

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ukuvainik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants