subjectLikelihood: Get the irm keys for the compartment counts in a population...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Get the irm keys for the compartment counts in a population level bookkeeping matrix

Usage

1
2
subjectLikelihood(subject, pop_mat, subj_path, irm_array, initdist, keys,
  loglik)

Arguments

pop_mat

population level bookkeeping matrix

subj_path

integer vector giving the subject path

irm_array

array of rate matrices

keys

vector of irm keys

loglik

boolean indicating whether to return the likelihood or log-likelihood

Value

subject level likelihood or log-likelihood


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