avg_dist_func | R Documentation |
Convert individual-level distance matrix to average distance matrix at cohort level
avg_dist_func(dist_mat, cohortid.vec)
dist_mat |
distance matrix |
cohortid.vec |
a vector of cohort/group id for all observations e.g., |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.