| headsTails | R Documentation |
Lists the (recursive) heads and tails for a CADMG
headsTails(graph, r = TRUE, by_district = FALSE, sort = 1, intrinsic, max_head)
graph |
object of class |
r |
logical indicating if recursive heads should be used |
by_district |
logical indicating if results should be returned separated by district |
sort |
should output be unique/sorted? |
intrinsic |
optionally, a list of the relevant intrinsic sets of the ADMG |
max_head |
optional maximum size for each head |
The result is a list containing elements of the
same length named heads, tails and
intrinsic giving the heads, tails and intrinsic sets.
If by_district is TRUE then result is a list
each of which is of the above format, corresponding to the
separate districts of graph.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.