generate_graph_exp {netseer} | R Documentation |
Generates a bigger graph using exponential growth.
Description
Generates a bigger graph using parameters for node and edge growth. If a sequence of graphs are created, the number of nodes in this sequence would exponentially increase.
Usage
generate_graph_exp(
gr = NULL,
del_edge = 0.1,
new_nodes = 0.1,
edge_increase = 0.1
)
Arguments
gr |
The input graph to generate the next graph. If set to |
del_edge |
The proportion of edges deleted from the input graph. Default
set to |
new_nodes |
The proportion of nodes added to the input graph. Default
set to |
edge_increase |
The proportion of edges added to the input graph. Default
set to |
Value
A graph.
Examples
set.seed(1)
gr <- generate_graph_exp()
gr
[Package netseer version 0.1.1 Index]