FLR

Tasklist

FS#22 - FLCore bugs/features

Attached to Project: FLR
Opened by Laurie Kell (ltkell) - Wednesday, 28 October 2009, 11:08 GMT+2
Task Type Bug Report
Package FLCore
Status New
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version 3.0
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

FLCore

as(FLStock,"FLIndex") is inconsistent in what is found in the slots, e.g. index, effort and catch
I have created a new one that is consistent and corresponds to an unbiased index of stock.n can we use this

Validation of FLIndex is wrong as index.q and effort should not be by age, can we change this

"]<-" for FLComp has to be done on a case specific basis as it doesn´t work when some FLQuant slots have ages and some don´t
"]<-" doesn´t work when some slots have 1 iter and some n
There are also some problems with iters e.g. creating an FLQuant out of an array with iters doesn´t work, i.e. the inverse of is OK

x<-m(ple4)[,ac(1990:2000),drop=T]
FLQuant(x)

but not
x<-propagate(m(ple4),10)[,ac(1990:2000),drop=T]
FLQuant(x)

Querying the number of iters is also inconstistent, for example you can have iters from 0;1000, where the 0th iter corresponds to the deterministic run, But if you use dims on a composite object like FLStock you wouldn´t know this, as you cant´t query dimnames.
This can cause problems in 2ndry packages.

Also some things don´t work in 2ndry pacakges if the iters are all the same, I´ve tried to fix this but still somethings broken
This task depends upon

Loading...