spring_summary: Summary information about spring climate

Description Usage Arguments Value

View source: R/spring_summary.R

Description

computes summary information about spring temperature and precipitation

Usage

1
spring_summary(clim_data, spring_months = c(4:6), spring_out = FALSE)

Arguments

clim_data

data frame with columns tavg (C) rain (precip in mm), year, month (integer), day

spring_months

(vector of integers) to include in spring; default 4,5,6

spring_out

(default FALSE) set to TRUE to output spring precip and temperature for all years

Value

returns a list containing,

Tavg_spring

mean_springT mean spring temperature (C)

Pavg_spring

mean spring precipitation (mm)

Tmax_spring

highest spring temperature (C)

Tmin_spring

lowest spring temperature (C)

Pmax_spring

highest spring precip (mm)

Pmin_spring

lowest spring precip (mm)

warmest_spring

year with highest spring temperature (year)

coldest_spring

year with lowest spring temperature (year)

wettest_spring

spring (as year) with highest precip (year)

driest_spring

spring (as year) with highest precip (year)

and array of means for all years if spring_out set to TRUE


naomitague/rainbow documentation built on Jan. 27, 2021, 9:48 a.m.