A class for storing parameters of a model.

FLPar(object, ...)

Details

The FLPar class is based on the array class which can store Monte Carlo samples and the names of the relevant parameter vectors.

Methods for this class include subsetting and replacement as for the FLQuant class. There are methods for extracting statistics of the sample (mean, median etc.) and for plotting the parameter samples.

Slots

.Data
Describe slot. array.
units
Units of measurement. character.

See also

[, [<-, as.data.frame, densityplot, histogram, iter, iter<-, mean, median, plot, splom, summary, units,FLPar-method, units<-,FLPar,character-method, var

Examples

FLPar(rnorm(4), params=c('a','b','c','sigma2'))
#> An object of class "FLPar" #> params #> a b c sigma2 #> 0.908 0.456 0.900 1.530 #> units: NA NA NA NA
FLPar(rnorm(20), dimnames=list(params=c('a','b'), year=1990:1999, iter=1), units='NA')
#> An object of class "FLPar" #> year #> params 1990 1991 1992 1993 1994 1995 1996 1997 1998 #> a -0.0942 0.8751 -0.1176 0.4017 -0.4153 -0.0909 -0.0862 1.0278 0.3664 #> b -1.1346 1.2951 0.5344 -0.3536 1.9362 -0.2966 0.2702 0.2580 1.4688 #> year #> params 1999 #> a -1.1361 #> b -0.4927 #> units: NA
# with iters FLPar(rnorm(80), params=c('a', 'b'), iter=1:40)
#> An object of class "FLPar" #> iters: 40 #> #> params #> a b #> 0.11920(0.872) 0.33913(0.658) #> units: NA NA