max_rainfall: max_rainfall

Description Usage Arguments Value Author(s)

Description

Compute maximum precipitation each year for a specified location during a specified month and output that year, location, month, and precipitation level.

Usage

1
2
max_rainfall(rain_data, location = "Brisbane", years = 2009:2017,
  month_spec = 4)

Arguments

rain_data

data frame with columns Date, Location, Rainfall

location

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

years

specified years in the data frame you want to see, default is 2009 to 2017

month_spec

specified month in the data frame you want to see, default is 4 (april)

Value

Returns a list containing,

Location

Location specified

Month

Month specified

Max_rainfall

The maximum rainfall (mm) for each year in the dataset

Author(s)

Gage Clawson


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