Learn R Programming

SAMtool (version 1.7.0)

plot_steepness: Plots probability distribution function of stock-recruit steepness

Description

Plots the probability distribution function of steepness from the mean and standard deviation.

Usage

plot_steepness(
  m,
  sd,
  is_transform = FALSE,
  SR = c("BH", "Ricker"),
  color = "black"
)

Value

A plot of the probability distribution function. Vertical dotted line indicates mean of distribution.

Arguments

m

The mean of the distribution (vectorized).

sd

The standard deviation of the distribution (vectorized).

is_transform

Logical, whether the mean and standard deviation are in normal space (FALSE) or transformed space.

SR

The stock recruitment relationship (determines the range and, if relevant, transformation of steepness).

color

A vector of colors.

Author

Q. Huynh

See Also

plot_lognormalvar() plot_betavar()

Examples

Run this code
mu <- 0.8
stddev <- 0.1
plot_steepness(mu, stddev)

Run the code above in your browser using DataLab