Compiled repo of ESM 206 labs (Fall 2021)
- Meet RStudio
- Our first R Markdown (& some formatting basics)
- Create a new .Rproj and add files to working directory
- Install new packages with
install.packages("package_name")
- Attach packages with
library()
- Read in a CSV with
readr::read_csv()
andhere()
- Explore data a little bit (e.g.
head()
,tail()
,names()
,summary()
- Do some basic wrangling with dplyr (
select()
,filter()
,mutate()
,group_by()
,summarize()
) - Use the pipe operator (
%>%
) - Create basic graphs with
ggplot2
Gregory, S.V. and I. Arismendi. 2020. Aquatic Vertebrate Population Study in Mack Creek, Andrews Experimental Forest, 1987 to present ver 14. Environmental Data Initiative. https://doi.org/10.6073/pasta/7c78d662e847cdbe33584add8f809165
Metadata: See important about the Mack Creek cutthroat trout and salamanders data at the link above and metadata here.