JuliaStats / TimeSeries.jl

Time series toolkit for Julia
Other
353 stars 69 forks source link

Moving: functions with multiple inputs #401

Closed versipellis closed 5 years ago

versipellis commented 5 years ago

Is there a way to use moving with functions with multiple args? For example, I want to use stdm from Statistics. The function's args is as follows:

stdm(v, m; corrected::Bool=true)

It doesn't seem to be that there's a way in moving to do so at the moment.

iblislin commented 5 years ago

So... in your case, is the input m known prior to moving?

iblislin commented 5 years ago

I guess you want moving function with a whole row as an input?

iblislin commented 5 years ago

Idea: moving(...; dims = 2)

iblislin commented 5 years ago

closed via #415