PupillometryR icon indicating copy to clipboard operation
PupillometryR copied to clipboard

Adding maxgap to interpolation function

Open TommasoGhilardi opened this issue 10 months ago • 0 comments

As mentioned in #32, I propose adding a parameter to control the number of interpolated values. I've introduced a new parameter, maxgap, which leverages functionality already available in the zoo package. By default, maxgap is set to Inf, so it doesn't alter the default behavior of pupillometryR. However, users can adjust it as needed to limit interpolation in cases of long gaps.

TommasoGhilardi avatar Mar 03 '25 21:03 TommasoGhilardi