build_tpm: Construct a transition probability matrix from

Description Usage Arguments Value

View source: R/build_tpm.R

Description

If (t1 - t0) is small, there could be numerical underflow leading to negative entries in the tpm. If so, the negative values are set to 0.

Usage

1
build_tpm(values, vectors, inv_vectors, t0, t1)

Arguments

values

vector of eigenvalues

vectors

matrix of eigenvectors

inv_vectors

inverse of matrix of eigenvectors

t0

left endpoint of the interval

t1

right endpoint of the interval

Value

transition probability matrix


fintzij/BDAepimodel documentation built on Sept. 20, 2020, 1:44 p.m.