mean_precip_by_month: Mean monthly precipitation

Description Usage Arguments Value Author(s) References

Description

This function creates an array from the monthly_precip$precip data frame, water_year, Location, and month. It then calculates the mean precipation by month for all years and produces a graph to visualize the data.

Usage

1
mean_precip_by_month(precip_data, plot = TRUE)

Arguments

precip_array

The function uses data from the precipitaion array "precip_array".

water_year:

From 2002 to 2019. The water year starts on October 1 and ends on September 30.

Location:

Paso Robles, San Luis Obispo, and Santa Barbara

month:

Three-letter abreviation of precipitation month

precip:

Precipitation measured in inches

Value

Returns either a graph or table that summarizes the mean monthly precipitation for all water years (2002-2019).

Author(s)

Jamie Miller and Anna Calle

References

Source: Monthly Observed Precipitation - NWS Cooperative Observers. The following are data from NWS cooperative observers for the current water year and historically back to Water Year 2002. The water year starts on Oct 1 and ends on Sept 30. Precipitation data is provided for each month of the current water year, total precipitation for the water year, the percent of normal for the water year to date, and the percent of the entire water year received to date. https://www.cnrfc.noaa.gov/rainfall_data.php#monthly


jkmiller-wildlife/PrecipPackage documentation built on June 18, 2019, 1:34 p.m.