powered by
sample_path(n, max_len, old_path)
## Draw 5 samples of 10 pathways out of 100 nodes without repeated pathways old_path <- c(); for (i in 1:5) { r <- sample_path(10,100, old_path); old_path <- c(old_path, r); }
Run the code above in your browser using DataLab