Description Usage Arguments Value Functions
View source: R/data_generation.R
Convert a tree and metadata into useable data for hierarchical modelling
1 2 3 4 5 | tree_to_edt_data(tree, metadata, scale = FALSE, justLeaves = TRUE,
model_formula = ~group)
tree_to_ept_data_new(tree, metadata, scale = FALSE, justLeaves = TRUE,
model_formula = ~group)
|
tree |
The tree containing volumes |
metadata |
The metadata necessary, requires |
scale |
Whether or not to centre/scale the volumes |
justLeaves |
Whether to filter down the data to just the leaf volume (default true) |
a list containing the requisite data for fitting either flat models or effect diffusion models.
tree_to_ept_data_new
: deprecated old variant
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.