simulate_timeseries: simulate a timeseries

Description Usage Arguments Details

Description

simulate a timeseries

Usage

1
2
3
4
simulate_timeseries(nrep, Tlim, delta, rho, alpha, omegaz, Vb, sigma_xi, Npop0,
  var_a, Ve = Ve, fractgen = fractgen, omega_Wmax = omega_Wmax, A = A,
  B = B, stationarity = TRUE, K0 = 10000, density = "independent",
  thetalog = NA, poisson = FALSE, varying_g = FALSE, ...)

Arguments

nrep

reps

Tlim

max time

delta

shift

rho

predictability of the environmental noise

alpha

intial mean plasticity

omegaz

selection

Vb

variance in RN slope

sigma_xi

variance in the optimum

Npop0

initial population

var_a

variance in trait

Ve

microenvronemntal variance

fractgen

developmental delay

omega_Wmax

max productivity

A

reference environment intercept

B

environmental sensitivity of selection

stationarity

(logical) generate stationary IC if TRUE

K0

carrying capacity (default=10000)

density

density dependence ('independent', 'gompertz', 'thetalogistic', 'ceiling')

thetalog

theta parameter for theta-logistic

poisson

(logical) reproduction occurs as N(t+1) = Poisson(f(N(t)))

varying_g

(logical) vary genetic variance parameters according to SHC approximation

...

avoid throwing errors if we pass too many? (bad idea)

Details

uses 'simulate_pheno_ts' under the hood. Poisson only implemented for density='independent' and 'thetalog'. For detail on SHC see help for simulate_pheno_ts and SHC.


ashander/phenoecosim documentation built on May 10, 2019, 1:52 p.m.