[FLR-list] Problems with fwd()

Luis Ridao luridao at gmail.com
Tue Mar 20 12:21:47 CET 2012


FLR-help,

I'm having problems with a MSE.
I copy-paste the line which gives the error:

...
...
    * print("OK to here1")*
*      ## project MP to TAC year with the HCR and geom mean recr.*
*
MP<-fwd(MP,ctrl=target,sr=list(model="mean",params=FLPar(1)),sr.residuals=SRrs)
*
...
...

Year =2011
[1] "OK to here1"
*Error in .local(object, ctrl, ...) : 6*


My target is :
> *target*

Target
  year min       val   max quantity season area unit spp fleet metier
rel.year
1 2011  NA 0.4550558    NA        f     NA   NA   NA  NA    NA     NA
NA
2 2012  NA 0.3200000    NA        f     NA   NA   NA  NA    NA     NA
NA
3 2012   0        NA 40000    catch     NA   NA   NA  NA    NA     NA
NA
4 2012  NA 2.0000000    NA        f     NA   NA   NA  NA    NA     NA
NA
  rel.season rel.area rel.unit
1         NA       NA       NA
2         NA       NA       NA
3         NA       NA       NA
4         NA       NA       NA

    min        val        max
  1         NA 4.5506e-01         NA
  2         NA 3.2000e-01         NA
  3 0.0000e+00         NA 4.0000e+04
  4         NA         NA 2.0000e+00

the '*sr*' object :

> list(model="mean",params=FLPar(1))
$model
[1] "mean"

$params
An object of class "FLPar"
params
a
1
units:  NA

and the Sr residuals:

> *SRrs*
An object of class "FLQuant"
iters:  1000

, , unit = unique, season = all, area = unique

     year
quant 2011     2012     2013
  all 27355(0) 27355(0) 27355(0)

units:  NA

R version :               R.2.14.2
FLash Version:         2.5.0
FLAdvice Version:    1.0
FLXSA Version:       2.5
FLAssess Version:   2.5
FLCore Version:       2.5

Running on Ubuntu 10.04.04

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/flr-list/attachments/20120320/43f64996/attachment.html>


More information about the flr-list mailing list