powered by
Extract ID labels from simulation output
extractIds(sim)
A character vector
Output from ibdsim()
ibdsim()
s = ibdsim(nuclearPed(2), N=1, ids = 3:4) stopifnot(all(extractIds(s) == c("3", "4")))
Run the code above in your browser using DataLab