create_leaf_cor_matrix {ddtlcm} | R Documentation |
Create a tree-structured covariance matrix from a given tree
Description
Retrieve the covariance matrix of leaf nodes of a DDT tree
Usage
create_leaf_cor_matrix(tree_phylo4d)
Arguments
tree_phylo4d |
a "phylo4d" object |
Value
a K by K covariance matrix
Examples
# load the MAP tree structure obtained from the real HCHS/SOL data
data(data_synthetic)
# extract elements into the global environment
list2env(setNames(data_synthetic, names(data_synthetic)), envir = globalenv())
create_leaf_cor_matrix(tree_with_parameter)
[Package ddtlcm version 0.2.1 Index]