2 ms·
That function is pretty standard. If you want to run a loess, it runs the loess function if not it runs a windowed average. What exactly would you test it for
by nojito 5y ago
That function is pretty standard.
If you want to run a loess, it runs the loess function if not it runs a windowed average.
What exactly would you test it for?
- epistasis 5y agoThis is actually one case where I could see jfoutz's point! If I were developing this, I'd probably be running it in a notebook, and inspecting output on a few rows from the data frame. It would be easy enough to capture both the input and output and throw it into a stopifnot to record the testing that was performed interactively.