SRModelName {FLCore}R Documentation

Convenience function to identify an SR model by its formula

Description

A supplied formula, representing an stock-recruitment relationship, is matched against the list of all models defined in FLCore (See SRModels).

If a match is found, a tring character with the name of the model is returned, otherwise FALSE is obtained.

Usage

SRModelName(formula)

Arguments

formula A formula defining the model

Value

model A character string or FALSE

Author(s)

FLR Team

See Also

SRModels

Examples

SRModelName(rec ~ a * ssb * exp(-b * ssb))

[Package FLCore version 2.2 Index]