Description Usage Arguments Value See Also Examples
Comparing the topological parameters of a sub network and the whole one.
1 2 3 4 | comp.subnet(x, graph, topology.parameters = TRUE, degree = FALSE,
cc = FALSE, betweenness = FALSE, eccentricity = FALSE,
ave.path.len = FALSE, figure.type = 1, method = "utest",
legendname = c(substitute(x), substitute(graph)))
|
x |
Vertex of the sub network. |
graph |
An igraph object. |
topology.parameters |
Logical value, indicating whether to do basic compariring (if |
degree |
Logical value, indicating whether to do degree comparing (if |
cc |
Logical value, indicating whether to do clustering coefficient comparing (if |
betweenness |
Logical value, indicating whether to do betweenness comparing (if |
eccentricity |
Logical value, indicating whether to do eccentricity comparing (if |
ave.path.len |
Logical value, indicating whether to do average path comparing (if |
figure.type |
Type of the plot. See |
method |
Test method, currently only |
legendname |
Legend name for the plot. |
A list of compared parameters and plot.
comp.rand.subnet
, net.comparing
1 2 3 4 | g<-barabasi.game(100,power=0.8,directed = FALSE)
id<-sample(1:100, 20)
res<-comp.subnet(id,g)
res<-comp.subnet(id,g,topology.parameters=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.