Learn R Programming

arf3DS4 (version 2.5-4)

processModel: Process an ARF model.

Description

Run an entire processing pipeline for a given ARF model (minimization and statistics).

Usage

processModel(arfmodel, options = loadOptions(arfmodel), 
 dat = readData(.model.avgdatfile(arfmodel)), 
 weights = readData(.model.avgWfile(arfmodel)), 
 pr = T, printlevel = 0, try.silen = T)

Arguments

arfmodel
An arf model object (class model).
options
An "options" object (class 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 t
dat
An object of class "fmri.data" (fmri.data containing the averaged beta-values.)
weights
An object of class "fmri.data" (fmri.data containing the averaged weights of the beta-values.)
pr
Print output to the screen, or perform silently.
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 @warnings slot.

Value

  • Returns an object of class "model" with the appropriate slots.

Details

processModel calls fitModel, varcov and wald. The model is automatically saved.

See Also

model, options, fmri.data, newModel, fitModel, varcov, wald