[FLR-list] Error in a4aout at harvest + m(stock) : non-conformable arrays
Luis Ridao
luisr at hav.fo
Wed Feb 18 11:21:28 CET 2015
Hi,
It seems that one one the tunning fleets has a wider age range than the
the stock object:
> gul.indices[[1]]@range
min max plusgroup minyear maxyear startf endf
6 13 13 1998 2014 0 1
> gul.indices[[2]]@range
min max plusgroup minyear maxyear startf endf
2.0 12.0 12.0 1996.0 2014.0 0.6 0.7
> gul at range
min max plusgroup minyear maxyear minfbar maxfbar
4 21 21 1995 2014 6 11
best,
Luis
On 02/17/2015 05:12 PM, Ernesto Jardim wrote:
>
> hi
>
> I'm away. Can't replicate ... I had this one before. It's something
> with data. Check if index has more ages or years than stock.
>
> best
>
> EJ
>
> No dia 17 de Fev de 2015 17:10, "Luis Ridao" <luisr at hav.fo
> <mailto:luisr at hav.fo>> escreveu:
>
> Hi all,
>
> Giving "a4a" package a try.
> I have FLStock and FLIndices objects:
>
> > class(gul0001)
> [1] "FLStock"
> attr(,"package")
> [1] "FLCore"
>
> > class(gul.indices)
> [1] "FLIndices"
> attr(,"package")
> [1] "FLCore"
> >
>
> The harvest slot is "NAs":
>
> > dim(harvest(gul0001))
> [1] 18 20 1 1 1 1
>
> and M slot (M=0.1)
>
> > dim(m(gul0001))
> [1] 18 20 1 1 1 1
>
> But when performing a model run an error comes up:
>
> > gulfit <- sca(gul0001, gul.indices)
> Error in a4aout at harvest + m(stock) : non-conformable arrays
>
>
> Any ideas?
>
> Thanks in advance
> _______________________________________________
> flr-list mailing list
> flr-list at flr-project.org <mailto:flr-list at flr-project.org>
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list
>
>
>
> _______________________________________________
> flr-list mailing list
> flr-list at flr-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/flr-list/attachments/20150218/661c9204/attachment.html>
More information about the flr-list
mailing list