get_likelihood_profiles_nofail | R Documentation |
Generate a step function of the likelihood at interval times.
get_likelihood_profiles_nofail(likelihood_nofail, landmark, horizon, interval)
likelihood_nofail |
a list of likelihoods for each subject at the observed time points returned by get_likelihood_nofail(). |
landmark |
the prediction landmark. |
horizon |
the prediction horizon. |
interval |
the intervals relative to the horizon (e.g. 1/12 if monthly intervals if horizon is in years) |
A list of length nrow(unique(id)) with likelihood profiles
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.