View source: R/select_candidate_evidences.R
select_candidate_evidences | R Documentation |
Select the evidences for candidate experiments
select_candidate_evidences(
experiments = list(create_test_experiment()),
marg_liks = create_test_marg_liks()
)
experiments |
a list of one or more pirouette experiments, as can be created by create_experiment. If more than one experiment is provided and a "generative" experiment is part of them, the "generative" one has to be the first in the list. See also:
|
marg_liks |
a data frame with marginal likelihoods/evidences. A test data frame can be created by create_test_marg_liks |
the evidences for the candidate experiments, as a numeric vector
Richèl J.C. Bilderbeek
if (beautier::is_on_ci() && rappdirs::app_dir()$os != "win") {
experiment_1 <- create_test_gen_experiment()
experiment_2 <- create_test_cand_experiment()
experiments <- list(experiment_1, experiment_2)
# Experiments must have different inference models
experiments[[1]]$inference_model$site_model <-
beautier::create_gtr_site_model()
select_candidate_evidences(
experiments = experiments,
marg_liks = create_test_marg_liks()
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.