powered by
ancestors(x, ID, sources)
ID
x
data(outbreak) ancestors(9, outbreak$epidata[,1], outbreak$epidata[,4])
Run the code above in your browser using DataLab