Skip to contents

If no parameter sample is provided, sample from posterior predictive

Usage

impute(model, data, nsim, n_per_group, now, seed, ...)

Arguments

model

a model of class "Model"

data

the (multi-state) data frame to impute further trajectories for.

nsim

number of samples to draw

n_per_group

the number of individuals per group to be recruited.

now

exact time point relative to start of the trial

seed

integer, fixed random seed; NULL for no fixed seed

...

further arguments passed to method implementations

Value

a data frame with imputed version of the input data.