get_likelihood_profiles_fail: Get likelihood profiles for failure

View source: R/predict_mmm.R

get_likelihood_profiles_failR Documentation

Get likelihood profiles for failure

Description

Generate a step function of the likelihood at interval times t.

Usage

get_likelihood_profiles_fail(likelihood_fail, landmark, horizon, interval)

Arguments

likelihood_fail

a list of likelihoods for each subject at the observed time points

landmark

the prediction landmark time.

horizon

the prediction horizon.

interval

the intervals relative to the horizon (e.g. 1/12 for monthly intervals and horizon is in years)

Value

A list of length (horizon - landmark)/interval of lists with nrow(unique(id)) with likelihood profiles


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