get_likelihood_profiles_nofail: Get likelihood profiles for non failures

View source: R/predict_mmm.R

get_likelihood_profiles_nofailR Documentation

Get likelihood profiles for non failures

Description

Generate a step function of the likelihood at interval times.

Usage

get_likelihood_profiles_nofail(likelihood_nofail, landmark, horizon, interval)

Arguments

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)

Value

A list of length nrow(unique(id)) with likelihood profiles


JanvandenBrand/jmmm documentation built on May 30, 2022, 9:37 a.m.