Description Format Value Fields
Builds the source attribution model. Is not intended to be used by a regular user. Developers only here!
R6Class object.
Object of R6Class.
y3D array of [type, time, location] of the number of human cases
X3D array of the number of positive samples for each type, source and time [type, source, time]
R3D array of normalised relative prevalences for each timepoint [type, source, time]
Timea character vector of timepoint ids matching time dimension in y and R
Locationa character vector of location ids matching location dimension in y
Sourcesa character vector of source ids matching the source dimension in X
Typea character vector of type ids matching the type dimension in X
preva 2D array (matrix) of [source, time].
a_qconcentration parameter for the DP
a_thetashape parameter for the Gamma base distribution for the DP
b_thetarate parameter for the Gamma base distribution for the DP
a_r3D array of [type, src, time] for the hyperprior on the relative prevalences R
a_alpha3D array of [source, time, location] for the prior on the alpha parameters
svector giving initial group allocation for each type for the DP
thetavector giving initial values for each group in the DP
alpha3D array of [source, time, location] giving initial values for the alpha parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.