inst/benchmarks/correlated.R

time_group("correlated E-R graphs, v1")

time_that("sample_correlated_gnp is fast", replications=10,
          init={ library(igraph) },
          { sample_correlated_gnp_pair(100, corr=.8, p=5/100) })

Try the igraph package in your browser

Any scripts or data that you put into this service are public.

igraph documentation built on July 21, 2017, 7:18 p.m.