bootstrap_lr | R Documentation |
Runs a parameteric bootstrapping likelihood ratio test on two DAISIE models
bootstrap_lr(
daisie_data,
data_name,
model_1,
model_2,
array_index,
cond,
methode = "lsodes",
optimmethod = "subplex",
results_dir = NULL,
test = FALSE
)
daisie_data |
A list, conforming to the |
data_name |
String. Will be used for the name of the created output folder. |
model_1 |
A string with model that should run. For a list of options
see documentation for |
model_2 |
A string with model that should run. For a list of options
see documentation for |
array_index |
A single numeric with the array index. It is used for naming the output file. |
cond |
An integer specifying conditioning, as described in
|
methode |
Method of the ODE-solver. Supported Boost |
optimmethod |
Method used in likelihood optimization. Default is
|
results_dir |
A string with the path to the directory where results
are to be stored or can be found. For example, if the data in question
is (to be) stored in |
test |
A boolean, defaults to |
Nothing. Writes bootstrapping results to a .rds
file. This
file is stored in file_path
. The directory in of file_path
is created
if it doesn't exist.
## Not run:
data(Galapagos_datalist, package = "DAISIE")
bootstrap_lr(
daisie_data = Galapagos_datalist,
model_1 = "cr_dd",
model_2 = "cr_di",
array_index = 1,
cond = 1,
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.