as.FLSRs: Convert an FLStock into a list of one or FLSR objects.

View source: R/FLSR.R

as.FLSRsR Documentation

Convert an FLStock into a list of one or FLSR objects.

Description

A single FLStock can be coerced into a list with one or more objects of class FLSR, each of them typically set to a diefferemt stock-recruit model.

Usage

as.FLSRs(x, models = NULL, ...)

Arguments

x

An estimated FLStock object to coerce.

models

Name(s) of model(s) to fit.

...

Any extra arguments to be passed to as.FLSR.

Value

An objecdt of class FLSRs

Author(s)

FLR Team, 2023.

See Also

FLSRs FLSRs as.FLSR()

Examples

data(ple4)
as.FLSRs(ple4, model=c("bevholt", "segreg"))

flr/FLCore documentation built on May 4, 2024, midnight