annual_precip: annual_precip

Description Usage Arguments Value Author(s)

View source: R/annual_precip.R

Description

Calculate annual total precipitation each year for a dataset during a specified time period.

Usage

1
annual_precip(data = "", years = 1952:2019)

Arguments

data

dataframe with columns year, month, day, daily_rain

years

the years in the dataframe you want to specify for the time period (default is 1952 to 2019)

Value

Returns a dataframe containing,

Year

Years specified

Rainfall.inches

The total precipitation (inches) for each year specified in the time period

Author(s)

Laura Ingulsrud & Keene Morrow


lauraing/climatechangeimpacts documentation built on March 29, 2020, 6:47 p.m.