calc_sum_stats <- function(island_tree) {
MGL <- RPANDA::spectR(island_tree)
sum_stats <- list(principal_eigenvalue = MGL$principal_eigenvalue,
skewness = MGL$asymmetry)
return(sum_stats)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.