DAISIE_plot_sims {DAISIE} | R Documentation |
Plot island species-through-time (STT) plots
Description
Produces STT plots. If only one type of species is present in the simulated islands, STT is plotted for all species. If two types are present, three plots are produced: STT for all, STT for type 1 and STT for type 2.
R plots with number of total, endemic and non-endemic STTs for different types of species for the entire time span the islands were simulated. 2.5-97.5th percentiles are plotted in light grey, 25-75th percentiles plotted in dark grey.
Usage
DAISIE_plot_sims(
island_replicates,
plot_plus_one = TRUE,
type = "all_species",
sample_freq = 25,
trait_pars = NULL
)
Arguments
island_replicates |
List output from
|
plot_plus_one |
Boolean to indicate to plot all values plus one.
Set to |
type |
String to indicate if stt of all species or all possible stt
should be plotted. Default is |
sample_freq |
Numeric specifing the number of units times should be divided by for plotting purposes. Larger values will lead to plots with higher resolution, but will also run slower. |
trait_pars |
A named list containing diversification rates considering
two trait states created by
|
Value
R plot.
Author(s)
Luis Valente
References
Valente, L.M., A.B. Phillimore and R.S. Etienne (2015). Equilibrium and non-equilibrium dynamics simultaneously operate in the Galapagos islands. Ecology Letters 18: 844-852.
See Also
DAISIE_sim_cr
,
DAISIE_sim_time_dep
,
DAISIE_sim_cr_shift
, DAISIE_format_CS
Examples
### Plot islands with single process (only one type of species)
utils::data(islands_1type_1000reps)
DAISIE_plot_sims(
island_replicates = islands_1type_1000reps
)
### Plot island with type 1 and type 2
utils::data(islands_2types_1000reps)
DAISIE_plot_sims(
island_replicates = islands_2types_1000reps
)