Open ethanbsmith opened 3 years ago
I'd like to do something similar with TTR, but it would stay in a different package like it is now.
Updated the title of the issue because 'tidy' makes me shiver.
ALMA
implementation which was multivariate due to a side product of the original implementation using rollapply
. I think it would be better for this to be univariate output and have the caller do a loop or apply over columns, like how SMA
, EMA
, etc work. ROC
is another one.I guess the rule would be something like: TTR function should not loop over multi-column input. The looping should be done explicitly by the caller.
think this is an example of this issue, or at least related https://github.com/joshuaulrich/xts/issues/366#issuecomment-1107871210
not sure if TTR is in scope for this or not, but one of the things i'd like to see is some of technical calculations:
diff.xts
NA
if the input is too short, like https://github.com/joshuaulrich/TTR/issues/68