Created
August 17, 2022 02:06
-
-
Save MartinaGiron/ef5edc93d38a84a4a40403ac3465fb8f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### Calculate Totals #### | |
# Overall Total | |
survey_recoded$total <- rowSums(survey_recoded) #Create column of total score per person | |
survey_recoded <- cbind(id = survey_data$id, survey_recoded) #Recombine data with Respondent IDs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment