plot_params | R Documentation |
This function plots the output from ouwie_tidy so that all regimes are visible. Separate plots created for each continuous trait
plot_params(results)
results |
output from the ouwie_tidy function |
Function returns a plot summarizing the model comparisons for each continuous trait in the results output
Beaulieu, J. M., & O’Meara, B. 2014. OUwie: analysis of evolutionary rates in an OU framework.
#simulating dummy data to run through OUwie phy <- pbtree(n = 20, nsim = 2) disc_trait <- setNames(sample(letters[1:2], 20, replace = TRUE), phy[[1]]$tip.label) cont_traits <- as_tibble(iris[1:20, 1:2]) %>% mutate(species = phy[[1]]$tip.label) models <- c("BM1", "OUM") #set of models to run on each simmap results <- ouwie_tidy(phy, disc_trait, cont_traits, models, nsim = 2)#' plot_params(results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.