determineStartRect: Calculate starting values for an ARF model

Description Usage Arguments Details Value Author(s) See Also


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))



An ARF model object (class model)


An "options" object (class options), by default the options.Rda from the current model is loaded. The value of options@start.maxfac determines the calculation of the spatial extent values, higher settings will lead to greater extent values.


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 -

See Also

model, options

Search within the arf3DS4 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.