[FLR-list] trim method for stock and indices objects
Iago Mosqueira
iago.mosqueira at gmail.com
Thu Apr 18 19:06:48 CEST 2013
Hi,
Without checking, that command is passing the age argument to window,
not trim. windows only takes start and end. What about
FLIndices(trim(My_indices, age = 3:8))
Iago
On 04/18/2013 11:21 AM, Luis Ridao wrote:
>
> FLR-help,
>
> Trying to use the "trim" function to subset a FLIndices object.
> but just getting errors all the way:
>
> FLIndices(trim(window(My_indices, age = 3:8)))
>
> Using R-2.14.2 and FLCore 2.4 and FLXSA 2.4
>
> Any help?
>
> Thanks in advance
>
>
> _______________________________________________
> flr-list mailing list
> flr-list at flr-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list
>
More information about the flr-list
mailing list