View source: R/Calculate_ratio.R
Calculate_ratio | R Documentation |
Calculate_ratio
projects the covariance among traits onto a single difference (interpreted as a ratio for log-scaled traits)
Calculate_ratio(
params = c("K", "M"),
Database = FishLife::FishBase_and_RAM,
Cov_gjj = Database$Cov_gvv,
Mean_gj = Database$beta_gv,
ParentChild_gz = Database$ParentChild_gz
)
params |
Parameter names to use in calculation |
Cov_gjj |
Array of estimated covariance for each taxonomic group |
Mean_gj |
Matrix of Empirical Bayes predictions of traits for each taxonomic group |
ParentChild_gz |
Matrix representing taxonomic tree for analyzed data |
Matrix of exponentiated-differences (ratios) and log-standard deviations for projection
median difference for taxonomic group
log-standard deviation of difference for taxonomic group
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.