labels: Functions create labels for FLSR models

eqlabelR Documentation

Functions create labels for FLSR models

Description

These functions create labels from FLSR models and params to be used, for example, on the legend of the ggplot-based plot method for FLSRs

Usage

eqlabel(model, param)

modlabel(model, param)

Arguments

model

a list of model formulas

param

a list of FLPar objects for the params slot

Examples

 data(nsher)
 srs <- FLSRs(sapply(c('ricker', 'bevholt'), function(x) {
   y <- nsher
   model(y) <- x
   return(fmle(y))
 }))
 eqlabel(model=lapply(srs, model),
   param=lapply(srs, params))
 modlabel(model=lapply(srs, model),
   param=lapply(srs, params))

flr/ggplotFL documentation built on Jan. 31, 2025, 3:54 p.m.