[FLR-list] FLQuant creator

Dorleta Garcia dgarcia at azti.es
Mon May 29 10:17:20 CEST 2017


Hi all,

The code below used to work before:

flq <- FLQuant(NA, dim = c(11,40),dimnames = list(age = 0:10, year = 1975:2014))

But now if you want to build a FLQuant with dimnames it seems you have to declare the names of the six dimensions:

flq  <- FLQuant(1, dim = c(1,51,1,1,1,niter), dimnames = list(quant = 'all', year = 1978:2028, unit = 'unique', season = 'all', area = 'unique', iter = 1:Niter))

Is this behavior deliberate? Is something wrong on the code above? Or there is a bug in FLQuant creator coding?

Thanks,

Dorleta




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/flr-list/attachments/20170529/bd36ff54/attachment.html>


More information about the flr-list mailing list