
Handle theta initial estimates that are exactly zero
Source:R/preProcessZeroTheta.R
dot-preProcessZeroTheta.RdA linear `theta` has no magnitude to be scaled by when it starts at `0`, so this hook records a typical magnitude for each estimated, non-fixed, non-residual theta that starts at `0` (`1/sd()` of the covariate it multiplies, else 1). The scaling setup uses it as that parameter's `scaleC`. For the FOCEi family (a `foceiControl`) the parameter is also moved to `+zeroTheta` when that is within its bounds, otherwise `-zeroTheta`; if neither is within the bounds it errors. Runs before `.preProcessBoundedTransform` so the moved value is what gets transformed.