Learn R Programming

gimme (version 0.7-18)

sFIR: 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)

Value

Shape of response function and convolved time series vector.

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.