pm: Function factory for creating MSEtool performace metric...

pm_factoryR Documentation

Function factory for creating MSEtool performace metric (class "PM") functions

Description

Function factory for creating MSEtool performace metric (class "PM") functions

Various performance metrics

Usage

pm_factory(
  pm_type = c("SBMSY", "AAVY", "PNOF", "LTY", "Yield", "AADC"),
  ref = 0.1,
  yrs = NULL
)

P10(mse_obj)

P40(mse_obj)

P100(mse_obj)

PNOF(mse_obj)

LTY(mse_obj)

AAVY(mse_obj)

Arguments

pm_type

The type of performance metric.

ref

Reference level to use in secondary part of probability.

yrs

A vector of years to include. If NULL, all will be used.

mse_obj

An object of class MSE from the MSEtool package

Value

A MSEtool PM function

An object of class PMobj from the MSEtool package

Examples

P10 <- pm_factory("SBMSY", 0.1)
P10(mse_example)

pbs-assess/ggmse documentation built on Nov. 21, 2023, 8:06 p.m.