generate_design_matrix | R Documentation |
Constructs a design matrix for a given phylogenetic tree, used in Ornstein-Uhlenbeck modeling.
generate_design_matrix(tree, type = "simpX", alpha = 0)
tree |
A phylogenetic tree of class |
type |
A character string specifying the type of design matrix to generate. Options are |
alpha |
The selection strength parameter (only used when |
A design matrix X
, where each row corresponds to a tip and each column to an edge in the tree.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.