sFIR: Estimate response function for each person using smoothed...

View source: R/sFIR.R

sFIRR Documentation

Estimate response function for each person using smoothed Finite Impulse Response.

Description

Estimate response function for each person using smoothed Finite Impulse Response.

Usage

sFIR(data, stimuli, response_length = 16, interval = 1)

Arguments

data

The data to be used to estimate response function

stimuli

A vector containing '0' when the stimuli of interest is not present and '1' otherwise. Number of observations across time must equal the length of data.

interval

Time between observations; for fMRI this is the repetition time. Defaults to 1.

Value

Shape of response function and convolved time series vector.


gimme documentation built on Aug. 30, 2023, 1:08 a.m.