genMask | R Documentation |
Generate (and scale) mask from responses.
genMask(response, stim, noiseMatrix, baseImg, scaling = "matched")
response |
Numerical vector specifying the reponses. |
stim |
Numerical vector specifying the stimuli number. |
noiseMatrix |
Matrix of noise pattern as generated with
|
baseImg |
Numerical vector containing the baseImg image or string pointing to the baseImg image file. If baseImg is a string, then the baseImg image must in .png or .jpeg. |
scaling |
String|Scalar|NULL specifying the scaling method. '"matched"' is the default method. If a scalar is provided (e.g. 5) than the '"constant"' method will be applied. If 'NULL' no scaling is applied. |
List with the (un)scaled Noise mask ($mask
) and the base image as a vector
($baseImgVect
).
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.