Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/APFAfunctions.R
Merges two nodes (at the same level) in an APFA, returning the resulting APFA.
1 | MergeNodes(G, nodeset, NS = NULL, setLayout = TRUE)
|
G |
|
nodeset |
|
NS |
|
setLayout |
If |
If necessary, more details than the description above.
Returns the APFA igraph object after merging.
Smitha Ankinakatte and David Edwards
1 2 3 4 5 | library(gRapfa)
data(Wheeze)
G <- st(Wheeze)
G.c <- contract.last.level(G)
G.m <- MergeNodes(G.c, c(5,3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.