get_graph | R Documentation |
Turn a transmssion tree into a graph object
get_graph(from, to, attrs)
from |
progenitor id's |
to |
case id's |
attrs |
data.table of vertex attributes where first column is the
vertex name (i.e. corresponding to unique case ids); if passing to
chain stats, this data.table should atleast have one additional column
named |
ttree |
data.table with columns |
a graph generated by igraph
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.