diff --git a/modules/Manipulating_Data_in_R/lab/Manipulating_Data_in_R_Lab.Rmd b/modules/Manipulating_Data_in_R/lab/Manipulating_Data_in_R_Lab.Rmd index b69d659b..ebec2e5b 100644 --- a/modules/Manipulating_Data_in_R/lab/Manipulating_Data_in_R_Lab.Rmd +++ b/modules/Manipulating_Data_in_R/lab/Manipulating_Data_in_R_Lab.Rmd @@ -44,7 +44,7 @@ Look at the column names using `colnames` - do you notice any patterns? Let's rename the columns "co2" from this type of format: "2011" to this: "CO2_2011" using `rename`. Be sure to do this for all years 2012, 2013, and 2014. Make sure that you end up with the renamed columns in a data frame named `co2` here and in subsequent steps. -Hint: If you run code to rename the columns and store back into a data frame of the same name like `co2` you will not be able to re-run the renaming code without error (the columns are already renamed so it won't be able to find the oldname of the column anymore) +Hint: If you run code to rename the columns and store back into a data frame of the same name like `co2` you will not be able to re-run the renaming code without error (the columns are already renamed so it won't be able to find the old name of the column anymore) ``` # General format diff --git a/modules/cheatsheets/Day-1.md b/modules/cheatsheets/Day-1.md index 16dd8351..15afa559 100644 --- a/modules/cheatsheets/Day-1.md +++ b/modules/cheatsheets/Day-1.md @@ -13,7 +13,7 @@ output: ### Major concepts - **Package** - a package in R is a bundle or “package” of code (and or possibly data) that can be loaded together for easy repeated use or for sharing with others. Like an "expansion pack". -- **Function** - a function is a particular piece of code that allows you to dosomething in R. You can write your own, use functions that come directly from installing R, or use functions from additional packages. +- **Function** - a function is a particular piece of code that allows you to do something in R. You can write your own, use functions that come directly from installing R, or use functions from additional packages. - **Argument** - an option that you specify to a function. - **Object** - an object is something that can be worked with in R - can be lots of different things! - [**Tidyverse**](https://tidyverse.tidyverse.org/articles/paper.html) - This is a newer set of packages designed for data science that can make your code more intuitive as compared to the original older Base R. diff --git a/modules/cheatsheets/Day-1.pdf b/modules/cheatsheets/Day-1.pdf index d40c0f04..c65feb57 100644 Binary files a/modules/cheatsheets/Day-1.pdf and b/modules/cheatsheets/Day-1.pdf differ