I encourage all of my students to use free R software in their research. Below are some resources I find helpful for learning and using R.

The Beginner’s Creed.

**R tutorials**

Getting started: The link here has all you need to get started with R and software to edit scripts (Rstudio).

R and hydrology: Blog with a comprehensive list of links is here.

**R scripts with tips and tricks**

Plots, including sub and superscripts in axis titles. Plotting in R is easy, with some tricky bits in formatting axis titles…

htmlTable example. htmlTable lets you put the results you generate in R directly into an html format, which you then convert to word format. No more re-entering data into a Word document! To import into Word:

Plot gallery with code on how to create them using R’s ggplot package.

Barplots with base graphics.

Summary sheet for data management with dply, tidyr.

Hydrologic analysis in R

Hydroinformatics course with examples

### Watershed Analysis Exercises

These are exercises for GEOG 576, Watershed Analysis.

Exercise 1: Watershed delineation

Exercise 2: Introduction to R, and rainfall data analysis in R

Exercise 3: Loading and analysis of DAYMET data in R (no access to offline data).

Exercise 4: Loading analysis of USGS streamflow data

Exercise 5: Flow duration curve analysis

Exercise 6: Water quality data analysis

### 2020-2022

Install R and R studio. Follow Steps 1-4 at: https://swirlstats.com/students.html

Note that they refer to the “Console” in RStudio—it’s the window in the lower-left corner when you start RStudio:

Introduction to R and Rstudio for beginners: Paths and variables

Exercise 4: R and rainfall analysis

Exercise 5: Stream discharge: Loading, annual time step and water years

### Hidrologia em R, Portugues

Officina 2021-10-07

Exercisio 1

Exercisio 2

Analizar vazoes minimas

Google Earth Engine Portugues

### Links to data and forecasts

Quantitative Forecast for San Diego County

San Diego River

Tijuana River watershed

OneRain–real-time rainfall and streamflow data for San Diego County