# Create a New Data Frame

## This lesson is locked

If the video is not playing correctly, you can watch it in a new window

### Transcript

Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.

Complete the create a new data frame sections of the data-wrangling-and-analysis-exercises.Rmd file.

General Data Wrangling and Analysis Resources

Because most material that discusses data wrangling and analysis with the dplyr packges does so in a way that covers all of the verbs discussed in this course, I have chosen not to separate them by lesson. Instead, here are some helpful resources for learning more about all of the tidyverse verbs discussed in this course:

Chapter 5 of R for Data Science

RStudio Cloud primer on working with data

Tidyverse for Beginners by Danielle Navarro

Learning Statistics with R by Danielle Navarro

Introduction to the Tidyverse by Alison Hill

A gRadual intRoduction to data wRangling by Chester Ismay and Ted Laderas

Working in the Tidyverse by Desi Quintans and Jeff Powell

Christine Monnier video tutorials on dplyr

## Have any questions? Put them below and we will help you out!

You need to be signed-in to comment on this post. Login.

#### Abby Isaacson

when I try this simple renaming, I get the error (below code): mental_health_over_30 % filter(age >= 30) %>% group_by(gender) %>% summarize(mean_bad_mental_health_days = mean(days_ment_hlth_bad, na.rm = TRUE)) %>% mutate(mean_bad_mental_health_days = round(mean_bad_mental_health_days, digits = 1)) %>% arrange(desc(mean_bad_mental_health_days)) `summarise()` ungrouping output (override with `.groups` argument)