Last active
April 1, 2022 21:26
-
-
Save TracyYXChen/7d23c295909b42a4c247025e4080fc38 to your computer and use it in GitHub Desktop.
dvBar01
This file contains 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
```{r} | |
restaurant_df <- data.frame(restaurant=c('SweetRed', 'BananaBee'), | |
stronglyAgree=c(5,1), | |
agree=c(4,2), | |
neutral = c(3,3), | |
disagree=c(2,4), | |
stronglyDisagree=c(1,5)) | |
#column names with space! | |
colnames(restaurant_df) <- c('Restaurant',"Strongly Agree", "Agree", "Neutral", "Disagree", "Strongly disagree") | |
restaurant_df | |
```{r} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment