View source: R/create_ppi_var.R
create_ppi_var | R Documentation |
creates data for each step of the ppi variable by wrapping the functions: convolve_afni()
and downsample()
create_ppi_var(
psy_var,
phys_var,
hrf,
tr,
n_volumes,
upsample_factor = NULL,
deconvolve = TRUE,
afni_path = NULL,
afni_quiet = FALSE
)
psy_var |
psychological variable data (e.g., psy var that is contrast-coded and upsampled) |
phys_var |
physiological variable data (e.g., psy var that is detrended and upsampled) |
hrf |
hemodynamic response function (hrf) time series data |
tr |
repetition time (tr) in seconds |
n_volumes |
number of volumes or time points |
upsample_factor |
factor to upsample data by for convolution and deconvolution step (default: NULL) |
deconvolve |
option to perform or not perform deconvolution step (default: TRUE) |
afni_path |
path to afni directory (default: NULL) |
a list of datasets for each data wrangling step of the ppi variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.