View source: R/analyse_piecewise_exponential.R
analyse_piecewise_exponential | R Documentation |
Create Analyse function for piecewise exponential model
analyse_piecewise_exponential(cuts, testing_only = FALSE)
cuts |
interval boundaries for the piecewise exponential model |
testing_only |
if set to |
If there's any time interval no patients ever enter, NA is returned for all time intervals. This behavior will likely change in future package versions.
an analyse function that can be used in runSimulation
condition <- merge(
assumptions_delayed_effect(),
design_fixed_followup(),
by=NULL
) |>
head(1)
dat <- generate_delayed_effect(condition)
analyse_piecewise_exponential(cuts=c(90, 360))(condition, dat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.