log_lik_importation: Log likelihood of importation

Description Usage Arguments

View source: R/RcppExports.R

Description

This function calculates the importation component of the overall log likelihood.

Usage

1
log_lik_importation(nPatient, statuses, phi)

Arguments

nPatient

the total number of patients.

statuses

a vector the statuses on discharge of the patients

phi

the probability of a patient beeing colonised on admission.

TP_no_abx

the number of true positive tests without antibiotics.


mirjamlaager/mrsamcmc documentation built on May 20, 2020, 11:13 a.m.