Define sampling events at specified times for a given set of populations

sampling(model, times, ..., strict = FALSE)

Arguments

model Object of the class slendr_model Integer vector of times (in model time units) at which to schedule remembering of individuals in the tree-sequence Lists of two elements (slendr_pop population object-

Value

Data frame with three columns: time of sampling, population to sample from, how many individuals to sample