Description Usage Arguments Value
View source: R/spring_summary.R
computes summary information about spring temperature and precipitation
1 | spring_summary(clim_data, spring_months = c(4:6), spring_out = FALSE)
|
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 |
returns a list containing,
mean_springT mean spring temperature (C)
mean spring precipitation (mm)
highest spring temperature (C)
lowest spring temperature (C)
highest spring precip (mm)
lowest spring precip (mm)
year with highest spring temperature (year)
year with lowest spring temperature (year)
spring (as year) with highest precip (year)
spring (as year) with highest precip (year)
and array of means for all years if spring_out set to TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.