tex_prior: Combine the descriptions on the two priors to generate the...

View source: R/tex_helpr.R

tex_priorR Documentation

Combine the descriptions on the two priors to generate the Prior subsection of the Methods section.

Description

Combine the descriptions on the two priors to generate the Prior subsection of the Methods section.

Usage

tex_prior(
  deltaprior_text,
  muprior_text,
  format = c("HTML", "Latex", "Markdown")
)

Arguments

deltaprior_text

Description of the prior on the number of dispersal routes, Δ.

muprior_text

Description of the prior on the average dispersal rate, μ.

format

One of "HTML", "Latex", or "Markdown".

Value

paragraphs (in the selected format) describing prior specification in the study

Examples

deltaprior_text <- tex_deltaprior(states_num = 5L, symmetry = TRUE, delta_prior = "Poisson", poisson_default = TRUE, format = "Markdown")
muprior_text <- tex_muprior(mu_prior = "CTMC rate-ref (BEAST default)", tree_length = 1000, tree_num = 1L, parsimony_score = 500L)
tex_prior(deltaprior_text, muprior_text, "HTML")

jsigao/prioritree documentation built on Jan. 9, 2023, 5:35 a.m.