# NOT RUN {
# Setting the seed
set.seed(123)
# Generating an directed graph
rgraph_er(undirected=FALSE)
# Comparing P(tie)
x <- rgraph_er(1000, p=.1)
sum(x)/length(x)
# Several period random gram
rgraph_er(t=5)
# }
Run the code above in your browser using DataLab