data_simulation: simulate data for a model

Description Usage Arguments Value

View source: R/data_simulation.R

Description

simulate data for a model

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
data_simulation(
  model,
  nE,
  times,
  theta,
  ts,
  method,
  method.wt,
  depletion.factor.wt,
  stimulation.value,
  stimulation.value.wt
)

Arguments

model

list :W, Q, prior.theta, prior.W, orig.dat, r0

nE

number of observations to simulate

times

number of times points to simulate

theta

S_E connection prior

ts

time steps length

method

time series or steady state

depletion.factor.wt

diag of W in WT

stimulation.value

constant value for stimulation function

stimulation.value.wt

constant value for stimulation function in WildType case

Value

data array (nE x #number of experiments x times)


ZahraNSL/ODENEM documentation built on Dec. 31, 2020, 6:35 p.m.