determineStartRect {arf3DS4} | R Documentation |
determineStartRect calculates starting values for an ARF model by searching for maxima and minima in the data, and estimating the width of these maxima/minima.
determineStartRect(arfmodel, options = loadOptions(arfmodel)) determineStartRectSimple(arfmodel, options = loadOptions(arfmodel))
arfmodel |
An ARF model object (class |
options |
An "options" object (class |
determineStartRect determines the maxima and minima of the data and at each maximum/minimum searches in each dimension (x,y,z) the point where the maximum/minimum value is half its original value. This creates a box around the maximum/minimum, which is set to zero, to avoid searching the same area twice. The widths of this box are taken as starting values for the width-parameters.
Returns the ARF "model" object, with the starting values in the @startval
slot.
Wouter D. Weeda - w.d.weeda@gmail.com