plotIMDbyT_Belehradek: Calculate and plot the IMD against T by stage for a range of...

View source: R/calcIntermoltDuration_Belehradek.R

plotIMDbyT_BelehradekR Documentation

Calculate and plot the IMD against T by stage for a range of fixed Ts

Description

Function to calculate and plot the IMD against T by stage for a range of fixed Ts.

Usage

plotIMDbyT_Belehradek(
  Ts,
  sources = "all",
  stages = c("Z1", "Z2", "M"),
  lims = NULL,
  showPlot = FALSE
)

Arguments

Ts

- vector of (fixed) temperatures at which t

sources

- character vector with sources for constants

stages

- character vector of stages to calculate IMD for

lims

- list with elements 'x' and 'y' with axis limits

showPlot

- flag (T/F) to immediately show the plot

Details

Temperatures are regarded as fixed, so this function is appropriate to use if T represents temperatures spatially, for example. See also calcIMDforStage_Belehradekk.

Value

list, with a tibble (stage, temperature, and intermolt duration, in the time units of a) and a ggplot2 object.


wStockhausen/rIBMS_SnowCrab documentation built on March 30, 2022, 2:54 p.m.