intrinsicSets | R Documentation |
List Intrinsic Sets of a Summary Graph or Acyclic Directed Mixed Graph, possibly by district.
intrinsicSets(graph, r = TRUE, by_district = FALSE, sort = 2, recall = FALSE)
intrinsicSets2(graph, r = TRUE, by_district = FALSE, maxbarren, sort = 1)
graph |
object of class |
r |
logical, should recursive head definition be used? Defaults to |
by_district |
logical, should intrinsic sets be grouped by district? Defaults to |
sort |
should output be sorted/unique? |
recall |
logical: is this a recalling of the function (internal use only) |
maxbarren |
Maximum number of barren nodes (i.e. head size) to consider |
intrinsicSets
returns a list of integer vectors,
each being an intrinsic set (or if by_district = TRUE
a list of lists, each containing the intrinsic sets in a single
district). If r = FALSE
the intrinsic sets are the heads
and their dis-tails.
intrinsicClosure
returns an integer vector containing the closure of set.
intrinsicSets2()
: Alternative method for non-recursive heads only
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.