bd: basic one-species continuous-time population model

Description Usage Arguments Examples

Description

show plots of demographic parameters or time dynamics

Usage

1
2
3
4
5
bd(b0 = 1, bDD = NULL, bAllee = NULL, d0 = 0.5, dDD = NULL,
  dAllee = NULL, N0 = 0, logScale = FALSE, timeMax = 20, steps = 100,
  popMax = 100, popSteps = 100, reportPcTotal = "b", reportDiff = FALSE,
  title = "", tlab = "Time (years)", plab = "Population size (number)",
  fontSize = 1, legendSize = 1, printPlots = TRUE, plotType = "ggplot")

Arguments

timeMax

maximum time for dynamics plot [time]

steps

number of steps for dynamics plot

popMax

maximum population for demographic parameter plot [number]

popSteps

number of steps for demographic parameter plot

b0

per capita birth rate at zero density [1/time]

bDD

characteristic density for exponential decrease in per capita birth rate with increasing population density [number]

bAllee

characteristic scale for Allee effect in birth rate [number]

d0

per capita death rate at zero density [1/time]

dDD

characteristic density for exponential increase in per capita death rate with increasing population density [number]

dAllee

characteristic scale for Allee effect in death rate [number]

N0

initial population size for dynamics plot [number]: if N0=0, simulations of time dynamics will not be run nor plotted

reportPcTotal

whether to plot per capita rates ("p"), total rates ("t"), both ("b"), or neither ("n")

reportDiff

whether to plot the overall growth rate (birth-death) rather than birth and death separately

fontSize

scaled font size

legendSize

scaled legend size (base plots only)

title

plot title

tlab

label for time axis

plab

label for population size axis

printPlots

print plots (alternatively, return a list of plots)?

plotType

"ggplot2" or "base"

logScale

make y-axis logarithmic (for time dynamics only)?

Examples

1
2
3
4
bd()     ## basic plot
## set initial population size to something other than 0
## in order to get a dynamics plot
bd(N0=1)

bbolker/bio3ss3 documentation built on May 11, 2019, 9:28 p.m.