View source: R/sample_mainland.R
sample_mainland | R Documentation |
Samples the mainland clade with the mainland sampling probability
sample_mainland(
total_time,
mainland_clade,
mainland_sample_prob,
mainland_sample_type,
island_tbl
)
total_time |
Numeric defining the length of the simulation in time units. |
mainland_clade |
Data frame with state of mainland, see
|
mainland_sample_prob |
Numeric between zero and one determining the probability of an extant mainland species being sampled. |
mainland_sample_type |
String either "unsampled" for unsampled known species on the mainland, "undiscovered" for undiscovered species on the mainland, or "complete" if the mainland sampling probability is one. |
island_tbl |
Data frame with current state of simulation containing
number of species, see |
A data frame
Joshua W. Lambert
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.