#' Create the \code{tree_prior} argument
#' @inheritParams default_params_doc
#' @author Richèl J.C. Bilderbeek
#' @export
lum_create_tree_prior_arg <- function(tree_prior) {
arg <- "tree_prior ="
if (tree_prior == "Yule Model") {
return(paste(arg, "create_yule_tree_prior()"))
}
if (tree_prior == "Birth Death Model") {
return(paste(arg, "create_bd_tree_prior()"))
}
stop("Unknown tree prior")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.