Last chance! 50% off unlimited learning
Sale ends in
Create a parameter called mu
create_mu_param(id = NA, value = 0)
a parameter called mu
the parameter's ID
value of the parameter
Richèl J.C. Bilderbeek
the function create_param
contains a list
of all parameters that can be created
if (is_on_ci()) {
# Create the parameter
mu_param <- create_mu_param()
# Use the parameter in a distribution
laplace_distr <- create_laplace_distr(
mu = mu_param
)
# Use the distribution to create a BEAST2 input file
beast2_input_file <- get_beautier_tempfilename()
create_beast2_input_file(
input_filename = get_fasta_filename(),
beast2_input_file,
tree_prior = create_yule_tree_prior(
birth_rate_distr = laplace_distr
)
)
file.remove(beast2_input_file)
remove_beautier_folder()
}
Run the code above in your browser using DataLab