getTforIMD_Belehradek: Calculate and plot the necessary T against IMD by stage for a...

View source: R/calcIntermoltDuration_Belehradek.R

getTforIMD_BelehradekR Documentation

Calculate and plot the necessary T against IMD by stage for a range of IMDs

Description

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

Usage

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

Arguments

Ds

- vector of IMDs

sources

- character vector with sources for constants

stages

- character vector of stages to calculate IMD for

lims

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

showPlot

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

Details

Temperatures are regarded as fixed to determine the T corresponding to a given IMD. See also calcTforStageAndIMD_Belehradek.

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.