getInit: Starting values for non-linear parameters.
Description
Calculates starting values for non-linear parameters in non-linear
models. Note that starting values are only needed if optimizer = "nls"
in the MCPMod function.
Data frame containing dose response data set. The dose column should
be called "dose", the response column "resp", all other variables
possibly referenced in addCovars should also be present.
model
Character specifying the model.
scal
Scal parameter for betaMod model.
weights
Numeric specifying weights for fitting.
addCovars
Formula specifying the additional covariates.
Value
Starting value
References
Pinheiro, J. C., Bretz, F., and Branson, M. (2006). Analysis of dose-response studies - modeling
approaches, in N. Ting (ed.). Dose Finding in Drug Development, Springer, New York,
pp. 146--171