## 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)
# ## End(Not run)
Run the code above in your browser using DataLab