gen_demo.Rd
generate a toy CrossLink object
gen_demo(n_cross = 2, n_link = c(10), n_node = c(3, 4), seed = 6)
n_cross | the number of crosses (columns) |
---|---|
n_link | a vector of numbers of links between crosses |
n_node | a vector of numbers of nodes in each cross |
seed | random seed for random links |
a CrossLink object