DAISIE_format_IW_sampled_stt: Formats island-wide simulation output into standard DAISIE...

View source: R/DAISIE_format_IW_sampled_stt.R

DAISIE_format_IW_sampled_sttR Documentation

Formats island-wide simulation output into standard DAISIE list output

Description

Formats island-wide simulation output into standard DAISIE list output

Usage

DAISIE_format_IW_sampled_stt(
  island_replicates,
  total_time,
  M,
  sample_freq,
  verbose
)

Arguments

island_replicates

List output from DAISIE_sim_core_cr(), DAISIE_sim_core_time_dep(), DAISIE_sim_core_cr_shift() or DAISIE_sim_min_type2() functions. Minimally, this must be a list that has as many elements as replicates. Each element must be a list with the elements island_age, not_present and stt_all. stt_all must be a data frame with the column names Time, nI, nA, nC and present.

total_time

Numeric defining the length of the simulation in time units.

M

Numeric defining the size of mainland pool, i.e. the number of species that can potentially colonize the island.

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.

verbose

In simulation and dataprep functions a logical, Default = TRUE gives intermediate output should be printed. For ML functions a numeric determining if intermediate output should be printed, Default = 0 does not print, verbose = 1 prints intermediate output of the parameters and loglikelihood, verbose = 2 means also intermediate progress during loglikelihood computation is shown.

Value

List with IW DAISIE simulation output


DAISIE documentation built on June 2, 2022, 5:07 p.m.