nlme (version 3.1-86)

lmeScale: Scale for lme Optimization

Description

This function calculates the scales to be used for each coefficient estimated through an nlm optimization in the lme function. If all initial values are zero, the scale is set to one for all coefficients; else, the scale for a coefficient with non-zero initial value is equal to the inverse of its initial value and the scale for the coefficients with initial value equal to zero is set to the median of the non-zero initial value coefficients.

Usage

lmeScale(start)

Arguments

Value

a vector with the scales to be used in nlm for estimating the coefficients.

See Also

nlm