Hemodynamic Response Function
Overview
Computes the hemodynamic response function (HRF) for task functional magnetic resonance imaging (fMRI) data. Also includes functions for constructing a design matrix from task fMRI event timings, and for comparing multiple design matrices in a general linear model (GLM). A wrapper function is provided for GLM analysis of CIFTI-format data. Lastly, there are supporting functions which provide visual summaries of the HRFs and design matrices.
Install
Health
NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage: ‘BOLD_Param_BayesGLM.Rd’ ‘TR_Param_BayesGLM.Rd’ ‘aic_Param.Rd’ ‘ar_order_Param.Rd’ ‘ar_smooth_Param.Rd’ ‘brainstructures_Param_BayesGLM.Rd’ ‘design_Param_BayesGLM.Rd’ ‘faces_Param.Rd’ ‘field_names_Param.Rd’ ‘hpf_Param_BayesGLM.Rd’ ‘mask_Param_vertices.Rd’ ‘mean_var_Tol_Param.Rd’ ‘nuisance_Param_BayesGLM.Rd’ ‘resamp_res_Param_BayesGLM.Rd’ ‘scale_BOLD_Param.Rd’ ‘scrub_Param_BayesGLM.Rd’ ‘session_names_Param.Rd’ ‘surfaces_Param_BayesGLM.Rd’ ‘verbose_Param.Rd’ \arguments should not be documented without \usage.
- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 1 NOTE2026-07-11
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 43 (12 internal)
- Examples that run
- 100%6 run in a plain check
- Exported functions with examples
- 67%
- Documented parameters
- 75%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 88%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
6 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/mandymejia/hrf on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 1 practice
Dependencies
Installing hrf adds 98 packages (53 with compiled code, 98 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.1.3Latest2025-01-30 · current release
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2025-01-30
- Total releases
- 1 / 1 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.6.0
- Download size
- 110 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("hrf")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.