fitModel(data, modspec=list(), datasetind = vector(), modeldiffs = list(),
opt = opt() )dat containing the data
to be modeleddat
describing the models as results from a
call to the function initModeldata;
for each dataset in data specify the model it should have as
an index into modspec; default mapping is that all datasets
use the first model given in modspectheta whose elements contain the parameter estimates
associated with each dataset modeled.}multimodel
containing the results of fitting as well as the model
specificationexamineFit functionspecoptnls function internally to
optimize nonlinear parameters and to solve for conditionally linear parameters
(clp) via the partitioned variable projection algorithm.readData, initModel,
examineFit