simdat1: simdat1

Description Usage Arguments

View source: R/sa-sim-fn.R

Description

simdat1 Inner functions to simulate each data (e.g., ambient or local)

Usage

1
2
3
4
5
6
7
8
9
simdat1(
  typesim = "ambient",
  N = 100,
  prof0 = prof,
  meansd0 = meansd,
  sderr = NULL,
  rmout = F,
  log1 = T
)

Arguments

typesim

Which simulation to run. Currently, local1 - local4, ambient.

N

Number of days to simulate.

sderr

Standard deviation of error.

rmout

Whether to remove largest (outliers)

log1

Whether to use lognormal for G

prof

Profile data, defaults to prof.

meansd

Matrix with columns corresponding to source, type, mean, sd, defaults to meansd.


kralljr/stansa documentation built on Dec. 21, 2021, 7:44 a.m.