probtrans_by_convolution_clockreset: Compute transition probabilities under a clock-reset model...

Description Usage Arguments Author(s) See Also

View source: R/probtrans_ebmstate.R

Description

Compute transition probabilities for a given starting state and target state under a clock-reset model with a single time scale (sojourn time), using a convolution algorithm.

probtrans_by_convolution_clockreset is an internal function of probtrans_by_convolution and is not meant to be called directly by the user.

Usage

1
2
3
4
5
6
7
8
9
probtrans_by_convolution_clockreset(
  tmat,
  cumhaz,
  from_state,
  to_state,
  spline_list,
  unique_paths_object,
  time
)

Arguments

tmat

Transition matrix.

cumhaz

msfit object.

from_state

Initial state.

to_state

Target state.

spline_list

A list whose elements are spline functions approximating the cumulative hazard of making each possible transition in the process. This is normally a list object created by running cumhaz_splines.

unique_paths_object

An object created by running unique_paths.

time

A vector of ordered time points.

Author(s)

Rui Costa & Moritz Gerstung

See Also

probtrans_ebmstate; probtrans_by_convolution_clockforward; probtrans_by_convolution; unique_paths; cumhaz_splines.


ebmstate documentation built on Dec. 20, 2021, 5:07 p.m.