View source: R/plot_ego_gram.R
layout_egogram | R Documentation |
This creates pairs of x and y coordinates for a egogram, accompanied by alter IDs for each coordinate pair.
layout_egogram(altID, venn_var, pie_var)
altID |
Vector of alter IDs. |
venn_var |
Vector of values representing alter groups corresponding with venns in an egogram. |
pie_var |
Vector of values representing alter groups corresponding with pieces of pie in an egogram. |
A dataframe with three columns: x, y and altID.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.