limits {FLCore} | R Documentation

## Methods upper and lower

### Description

Accesor and replacement methods for the `lower` and `upper` attributes of objects of class `FLModel-class`. These are stored as part of the structure inside the `initial` slot. This slot contains a function to be used to provide initial values to any of the fitting method (e.g. `fmle`).

The values in `lower` and `upper` are only used if the method selected for `optim` is able to make use of them, like for example "L-BFGS-B", which is the default for `fmle`.

The exact location of this information could be changed (i.e. a separate slot might be created), so code accessing it is encouraged to use these accesor methods.

### Generic function

upper(object) upper<-(object, value) lower(object) lower<-(object, value)

### Methods

signature(object=FLModel) :
  Describe method
signature(object=FLModel, value=numeric) :
  Describe method

### Author(s)

The FLR Team

### See Also

FLModel-class

### Examples

    data(nsher)
    lower(nsher)
    upper(nsher)

[Package FLCore version 2.2 Index]