Skip to content
New course: Interactive Dashboards with Shiny. Get 50% off with coupon SHINYLAUNCH.
R for the Rest of Us Logo

Tidyverse Refresher

This lesson is locked

Get access to all lessons in this course.

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.

Your Turn

Create a new R script file. Within it, do the following:

  • Load the mammal sleep data bundled with ggplot2

  • Select “name” and “conservation” columns and those that include the string ‘sleep’ in their name

  • Create a new column that contains the values of ‘sleep_total’ multiplied by 3

  • Filter the data to remove domesticated mammals

Use pipes to chain the operations!

Learn More

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

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