View source: R/draw_moi_initial.R
draw_moi_initial | R Documentation |
Function for drawing initial MOIs.
draw_moi_initial(moi_list, datasampleID, y_no_mxed, y_mxed)
datasampleID |
is a vector of sample IDs; that is, a character vector such as |
y_no_mxed |
is a vector comprising a subset of |
y_mxed |
is a vector comprising a subset of |
moi_list$moi_prior |
is a character, either |
moi_list$moi_max |
is an integer defining the maximum moi possible in the model |
moi_list$moi_hyperparameter |
is a parameter of the prior distribution |
moi_list$moi_size_hyperparameter |
is a parameter of the prior distribution |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.