DAISIE_plot_area: Plots island area function through time

Description Usage Arguments Value See Also

View source: R/DAISIE_plot_params.R

Description

Plots island area function through time

Usage

1
2
3
4
5
6
7
DAISIE_plot_area(
  totaltime,
  area_pars,
  island_ontogeny = "beta",
  resolution,
  sea_level = "const"
)

Arguments

totaltime

Numeric defining the length of the simulation in time units.

area_pars

A named list containing area and sea level parameters as created by create_area_pars:

  • [1]: maximum area

  • [2]: value from 0 to 1 indicating where in the island's history the peak area is achieved

  • [3]: sharpness of peak

  • [4]: total island age

  • [5]: amplitude of area fluctuation from sea level

  • [6]: frequency of sine wave of area change from sea level

  • [7]: angle of the slope of the island

island_ontogeny

In DAISIE_sim_time_dependent, DAISIE_ML_CS and plotting a string describing the type of island ontogeny. Can be "const", "beta" for a beta function describing area through time. String checked by is_island_ontogeny_input.
In all other functions a numeric describing the type of island ontogeny. Can be 0 for constant, 1 for a beta function describing area through time. In ML functions island_ontogeny = NA assumes constant ontogeny.

resolution

numeric indicating resolution of plot. Should be < 0.

sea_level

In DAISIE_sim_time_dependent and plotting a string describing the type of sea level. Can be "const" or "sine" for a sine function describing area through time. String checked by is_sea_level_input.
In all other functions a numeric describing the type of sea level. Can be 0 for constant, 1 for a sine function describing area through time.

Value

a plot with the area size through time

See Also

Other rate calculations: get_ana_rate(), get_ext_rate(), get_immig_rate(), island_area_vector(), island_area(), update_max_rates(), update_rates()


xieshu95/DAISIE_new documentation built on March 20, 2020, 5:31 a.m.