[FLR-list] disc.nyears in stf()
Iago MOSQUEIRA (JRC)
iago.mosqueira at jrc.ec.europa.eu
Fri Jul 17 15:27:55 CEST 2015
Hi,
I have added the disc.nyears argument to stf, which defaults to the same
value as wts.nyears, so old code should still work.
Package not compiled yet, so please test using
library(devtools)
install_github('flr/FLAssess')
for which you will need Rtools installed.
Package will bve updated in repository over the next few days
Cheers,
Iago
On 16/06/15 23:59, Clara Ulrich wrote:
> Hi,
>
> I just found out that there used to be an argument disc.nyrs in stf() allowing to choose the number of years to be used for calculating the proportions of landings.n vs. discards.n - at least, the help file still mention it. But the current function does not have that one anymore, it uses wts.nyears - so it is for example not possible to use a three years average for weight at age and a one year average for the discards ratio... which North Sea cod forecast uses...
>
> Would it be possible to re-introduce that argument? I see no reason why this should not be there anymore?
>
> Thanks
> Clara
>
>
> _______________________________________________
> flr-list mailing list
> flr-list at flr-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list
>
--
Dr Iago Mosqueira
European Commission – Joint Research Center
Institute for the Protection and Security of the Citizen (IPSC)
Maritime Affairs Unit G03
TP 051, Via Enrico Fermi 2749
I-21027 Ispra (VA), Italy
Office : +39 0332 785413
Fax: +39 0332 789658
iago.mosqueira at jrc.ec.europa.eu
http://fishreg.jrc.ec.europa.eu/home
More information about the flr-list
mailing list