Description Usage Arguments Details Value Author(s) See Also
fitModel performs the fit-procedure of an ARF model to the data. It uses the values in the 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
1 2 3 4 5 6 7 8 9 10 11 12 | 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)
|
arfmodel |
An arf model object (class |
options |
An "options" object (class |
dat |
An object of class "fmri.data" ( |
weights |
An object of class "fmri.data" ( |
printlevel |
Number indicating the level of output of the minimization procedure. |
try.silen |
Should errors be printed when they occur or only passed to the |
fitModel calls one of the following functions based on the "options" object: fitModelOptim
, fitSimpleModelOptim
. These functions can also be called directly. Models can be created by calling newModel
.
Returns an object of class "model" with the appropriate slots.
Wouter D. Weeda - w.d.weeda@gmail.com
model
, options
, fmri.data
, newModel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.