This repository contains teaching materials used for introduction to R courses. The purpose of putting the materials online in a git repo is to allow other people to contribute to the tutorial and use the tutorial. Additional tutorial materials may be added to the repo as they are developed.
This README file describes how to use this code.
The following files are contained in this repository:
README.mdis this file.Intro_to_Rfolder contains all of the tutorial materials:code.Ris the code used in the tutorial. This code can be used as a stand-alone resource for students in the course. It is also used by the RMarkdown file.Intro_to_R.Rmdis the RMarkdown file used to generate the tutorial.Intro_to_R.pdfis the tutorial in PDF format.adult_density_RAW_data.csvis an example dataset used in the tutorial. The official copy of the data may be found at https://doi.org/10.5066/F7DR2TD0.
Alternatives_NHSTis a folder with alternatives to Null Hypothesis Significance testing.acute_raw data.csvis an example USGS dataset (authoritative copy and meta-data at https://doi.org/10.5066/F7NV9GQR).examples.Ris the R code for the example.LoonData2018_03_09.csvis an example USGS dataset (authoritative copy and meta-data at [https://doi.org/10.5066/P9TDCH3F(https://doi.org/10.5066/P9TDCH3F).supplement.bibis the BibTex filewalkthrough.pdfis a complied PDF version of the handoutwalkthrough.Rmdis the RMarkdown file used to generate the handout.run_markdown.Rcontains R code to compile the R Markdown file if one is not using RStudio.docker_buildcontains adockerfilethat builds a version of R that can be used to compile the tutorial. https://doi.org/10.5066/P9TDCH3F).
LICENSE.mdis the Official USGS License.code.jsonis the code metadata.Contributing.mddescribes how to contribute to this project.Disclaimer.mdis the standard USGS disclaimer.
Besides base R, this tutorial requires the following packages and their dependencies to be installed:
tidyversescalescarmapslme4broom
Richard A. Erickson (rerickson@usgs.gov)