Description Usage Arguments Details Value
assign_model
recognizes the model to fit from user input.
1 | assign_model(data_nplcm, model_options, silent = TRUE)
|
data_nplcm |
Data for model fitting. Details are
|
model_options |
See |
silent |
Default is |
assign_model
will also inspect the actual data supplied
and check if the data conform to user's requested model. The following
features of data and user inputs are checked against each other:
Available types of measurement quality, i.e., gold-, silver- or bronze-standard or any combinations;
Model for false positive rates: covariate-dependent or not;
Model for etiology: covariate-dependent or not.
A list of information for the selected model:
measurement
quality
e.g. "BrS+SS" indicates both BrS and SS measures are
available
SSonly
TRUE
for existence of pathogens with only SS measures;
otherwise, FALSE
;
nest
TRUE
for conditional dependent model; FALSE
for conditional independent model;
reg
do_FPR_reg
TRUE
for allowing FPR to be covariate-dependent; FALSE
otherwise;
do_Eti_reg
TRUE
for allowing etiology to be covariate-dependent; FALSE
otherwise;
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.