Learn R Programming

ggCompNet (version 0.1.0)

timeDrawings: Time drawings of random graphs

Description

Time drawings of random graphs

Usage

timeDrawings(niter = 100, sizes = seq(250, 25, -25), eprob = 0.2, wd = "./", newpack = NULL, classnew = NULL, newcode = NULL)

Arguments

niter
integer. How many times to repeat each drawing for each drawing method. Default is 100.
sizes
integer vector. What size(s) of network (how many nodes) should be drawn? Default is seq(250,25,-25).
eprob
numeric. Value between 0-1. Edge probability of random graph. Default is .2.
wd
character. Working directory where you want to store the timing results. Default is current working directory.
newpack
character. Name of additional package (or function) that you wish to compare to igraph, network, ggnet2, geomnet, and ggnetwork.
classnew
character. Class of object taken to be plotted with the new method. (think "igraph", "network", etc.)
newcode
expression. The code required to plot the random graph using the newpack method. Must take an object called n for plotting.