mean_rainfall: mean_rainfall

Description Usage Arguments Value Author(s)

Description

Compute mean daily precipitation for all years in the dataset and a specified location and output that year, location, and precipitation level.

Usage

1
mean_rainfall(rain_data, location = "Brisbane", plot_out = FALSE)

Arguments

rain_data

data frame with columns Date, Location, and Rainfall

location

specified location in the data frame you want to see, default is Brisbane

Value

Returns a list containing,

Year

Each year within the dataset

Location

Location specified

Mean_rainfall

The mean daily rainfall (mm) for each year in the dataset

\plot

Plot of mean rainfallShows a plot of mean daily rainfall in a specified location

Author(s)

Gage Clawson


gclawson1/computingpackage documentation built on June 15, 2019, 2:43 p.m.