View source: R/simulation-methods.R
| print.bifrost_simulation_template | R Documentation |
Print a compact summary of a bifrost_simulation_template, including the
aligned tree size, response/predictor structure, global calibration formula,
downstream simulation-search formula, and the empirical covariance summaries
used to generate simulation replicates.
## S3 method for class 'bifrost_simulation_template'
print(x, ...)
x |
A |
... |
Unused (S3 compatibility). |
Invisibly returns x. Called for its printing side effects.
createSimulationTemplate()
set.seed(1)
tr <- ape::rtree(12)
X <- matrix(rnorm(12 * 2), ncol = 2)
rownames(X) <- tr$tip.label
tmpl <- createSimulationTemplate(tr, X, formula = "trait_data ~ 1", method = "LL")
tmpl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.