add_trend_mon: Add climate trends to a single generated monthly climate...

View source: R/gen_month.R

add_trend_monR Documentation

Add climate trends to a single generated monthly climate timeseries

Description

Add climate trends to a single generated monthly climate timeseries

Usage

add_trend_mon(sim.gen, temp.factor, prcp.factor)

Arguments

sim.gen

data.frame of a single monthly climate timeseries generated by gen_month_arma()

temp.factor

additive temperature trend factor

prcp.factor

multiplicative precipitation trend factor

Examples

sim.gen <- gen_month_arma(x.reg.yr=clim.reg.yr, x.loc.mon=clim.loc.mon, n.iter=50, n.year=nrow(clim.reg.yr))
add_trend_mon(sim.gen=sim.gen$sim.mon[[1]], temp.factor=2, prcp.factor=1.5)


walkerjeffd/weathergen documentation built on July 26, 2022, 7:20 a.m.