Allows the starting values for parameters associated with
a model to be updated with the values found in fitting the model. That
is, a model is specified with initModel
. Then fitModel
is used to optimize the starting values for parameters. modifyModel
allows modification of the starting values in the model specification
with the optimized values found via fitModel
.
modifyModel(model = list(), newest = list(), exceptslots = vector() )
an object of class dat
that returns the results of
calling initModel
with the new starting values.
an object of class dat
returned by initModel
;
if this argument is of length(0)
, which is the default, then the
last model fit is used (which is found in the global variable
.currModel@model
)
an object of class theta
containing new parameter
estimates; if this argument is of length(0)
, which is the default,
then the parameter estimates associated with dataset 1 in the last model fit
are used (which are found in
the global variable .currTheta[[1]]
)
a vector of character vector of slot names whose corresponding slots are to be left out of the update
Katharine M. Mullen, Ivo H. M. van Stokkum
initModel
, fitModel