PerformanceAnalytics icon indicating copy to clipboard operation
PerformanceAnalytics copied to clipboard

Missing function Error: object 'table.TrailingPeriodsRel' not found (not exported?)

Open micstr opened this issue 4 years ago • 0 comments

I see table.TrailingPeriodsRel is listed under the Index and under the table.RollingPeriods {PerformanceAnalytics}, but in package version 2.0.4 when I try to use this it shows:

Error: object 'table.TrailingPeriodsRel' not found

I want to calculate a trailing active returns table for a number of funds with benchmarks.

Looking at your code, it seems this has been deprecated/renamed to table.RollingPeriods but I was wondering if there is a problem passing this to this new function*, or do you need to change the documentation (which I am happy to help with - as it is not clear table.RollingPeriods takes Rb and not just R)?

I would appreciate a steer of what to do.

Thanks for a fantastic package.

P.S. Using R version 4.0.3

*P.P.S. Are you missing a #' @export table.TrailingPeriodsRel in your package as the code is there?

micstr avatar Feb 04 '21 06:02 micstr