simulate_data: Simluate data with a dMod.frame

simulate_dataR Documentation

Simluate data with a dMod.frame

Description

Simluate data with a dMod.frame

Usage

simulate_data(
  model,
  hypothesis = 1,
  output = c("dMod.frame", "data.frame", "datalist"),
  timesD = 0:10,
  s0 = 0.1,
  srel = 0.1,
  observables = getObservables(model, hypothesis),
  seed_pars = 1,
  seed_data = 1
)

Arguments

model

dMod.frame, preferably with columns pars and covtable

hypothesis

1

output

output type. if dMod.frame, the current "data" in the given hypothesis will be overwritten

timesD, s0, srel, observables

things to create the data template

seed

Value

either dMod.frame with data in it and column "truth" or data.frame


dlill/conveniencefunctions documentation built on Sept. 30, 2022, 4:40 a.m.