Statmap {pARI} | R Documentation |
Create Statistical Parametric Mapping (SPM)
Description
It creates the statistical parametric mapping in NIfTI format.
Usage
Statmap(copes, alternative = "two.sided", path = getwd(),
name = "map", Pmap = FALSE, mask = NULL)
Arguments
copes |
list of NIfTI file. The list of copes, i.e., constrasts maps, one for each subject used to compute the statistical tests. |
alternative |
character string. It refers to the alternative hypothesis, must be one of |
path |
character string. Path to save the NIfTI file. The path does not must end with |
name |
character string. The name of the map NIfTI file that will be used. |
Pmap |
Boolean value. If |
mask |
NIfTI file or character string. 3D array of logical values (i.e. |
Value
Save the Statistical Parametric Mapping Nifti file in path
with name specified in name
.
Author(s)
Angela Andreella
Angela Andreella
Examples
## Not run:
library(fMRIdata)
data(Auditory_copes)
data(Auditory_mask)
Statmap(copes = Auditory_copes, mask = Auditory_mask)
## End(Not run)