sim_outcome_list {psborrow2}R Documentation

Input outcome details for a simulation study

Description

A function for defining which outcome scenarios should be evaluated as part of a simulation study.

Usage

sim_outcome_list(outcome_list)

Arguments

outcome_list

named list of objects of class Outcome created by outcome_details().

Value

Object of class SimOutcomeList.

See Also

Other simulation classes: sim_borrowing_list(), sim_covariate_list(), sim_data_list(), sim_treatment_list()

Examples


outcome_scenarios <- sim_outcome_list(
  list(
    "Exponential" = outcome_surv_exponential("time", "cnsr", prior_normal(0, 10000))
  )
)


[Package psborrow2 version 0.0.3.4 Index]