[R-SIG-Finance] Performance Analytics Calendar Returns

Pie T pietrader at gmail.com
Wed Sep 5 20:44:27 CEST 2012


Nice and elegant. Thanks.

On Wed, Sep 5, 2012 at 11:16 AM, G See <gsee000 at gmail.com> wrote:
> On Wed, Sep 5, 2012 at 12:21 AM, Nikos Rachmanis
> <nikos.rachmanis at gmail.com> wrote:
>> However, I am trying to transform the daily returns of my P&L (which also
>> include gaps) to monthly and unfortunately the to.monthly does not work
>> very well.
>>
>> i am currently trying table.TrailingPeriods and rollapply.
>>
>> Any other ideas or functions?
>
> ?apply.monthly
>
> apply.monthly(PnL, sum)
>
> -Garrett
>
> _______________________________________________
> R-SIG-Finance at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.



More information about the R-SIG-Finance mailing list