getWindowSizeLR function

Generate arguments for window size around focal point

Generate arguments for window size around focal point

A function to translate an window size argument to a standardized argument.

getWindowSizeLR(windowSize)

Arguments

  • windowSize: a pair of positive integers determining the window size left and right of a focal point or an odd number determining the size of a symmetrical window

Returns

windowSize a pair of positive integers determining the window size left and right of a focal point