makeSyntheticCohn: Make a synthetic linear dataset Based on description of Monte...

Description Usage Arguments Value

View source: R/synthetic.R

Description

Make a synthetic linear dataset Based on description of Monte Carlo experiments in Cohn, 2005.

Usage

1
makeSyntheticCohn(nrows, sigsq, log_detlim = 0)

Arguments

nrows

The number of sumulations

sigsq

the sigma^2 parameter. Cohn (2005) used 0.04, 0.25, 0.64, and 1.44.

log_detlim

the imposed detection limit for censoring the observations. Cohn (2005) used -Inf, -2*sigma, -sigma, 0, sigma

Value

A data.frame with columns "Date" (arbitrarily simulated), "conc", "flow", "conc.units", "flow.units", and "is.bdl".


markwh/rcmodel documentation built on May 21, 2019, 12:26 p.m.