simDailyTemperatures: Simulate (or retrieve) daily temperatures

View source: R/13-02-00-simDailyTemperatures.R

simDailyTemperaturesR Documentation

Simulate (or retrieve) daily temperatures

Description

Internal function used to simulate daily temperatures in annualSampling()

Not intended to be called directly, but visible for the sake of model transparency.

Usage

simDailyTemperatures(mu, climate, river, current_year, n)

Arguments

mu

a dataframe with columns 'val', 'year', and 'day' created from setUpTemperatureData() within riverModel() functions. Used to simulate new daily temperature observations if 'climate == current' in the model call, else temperatures are retrieved from climate projections in models where these are implemented (Connecticut and Penobscot only)


danStich/shadia documentation built on Aug. 28, 2024, 9:42 p.m.