iterchoiceS1 searches the interval from mini to
maxi for a minimum of the function which calculates the chosen
criterion (critS1gcv, critS1aic, critS1bic,
critS1aicc or critS1gmdl) with respect to its first
argument (a given iteration k) using optimize. This function is not intended to be used directly.iterchoiceS1(n, mini, maxi, tUy, eigenvaluesS1, ddlmini, ddlmaxi,
y, criterion, fraction)iter and objective which give the
(rounded) optimum number of iterations (between
Kmin and Kmax) and the value
of the function at that real point (not rounded).mini,maxi] is splitted into
subintervals using fraction. In each subinterval the function
fcriterion is minimzed using optimize (with respect
to its first argument) and the minimum (and its argument) of the
result of these optimizations is returned.ibr, iterchoiceS1