options
object to modify the behavior of the fit-procedure.
By default optim
(L-BFGS-B) is used for minimization. fitModel is a wrapper for fitModelOptim
and fitSimpleModelOptim
fitModel(arfmodel, options = loadOptions(arfmodel),
dat = readData(.model.avgdatfile(arfmodel)),
weights = readData(.model.avgWfile(arfmodel)),
printlevel = 0, try.silen = T)
fitModelOptim(arfmodel, options = loadOptions(arfmodel),
dat = readData(.model.avgdatfile(arfmodel)),
weights = readData(.model.avgWfile(arfmodel)),
printlevel = 0, try.silen = T)
fitSimpleModelOptim(arfmodel, options = loadOptions(arfmodel),
dat = readData(.model.avgdatfile(arfmodel)),
weights = readData(.model.avgWfile(arfmodel)),
printlevel = 0, try.silen = T)
model
)options
).The options@start.method
slot is used to determine which method to use for starting values. The arfmodel@modeltype
slot is used to determine whether to ffmri.data
containing the averaged beta-values.)fmri.data
containing the averaged weights of the beta-values.)warnings
slot.fitModelOptim
, fitSimpleModelOptim
. These functions can also be called directly. Models can be created by calling newModel
.model
, options
, fmri.data
, newModel