{
  "_id": "6a498e9d6d67900babdfb3a1",
  "Type": "Package",
  "Package": "hrf",
  "Title": "Hemodynamic Response Function",
  "Version": "0.1.3",
  "Authors@R": "c(\nperson(given = \"Amanda\",\nfamily = \"Mejia\",\nemail = \"mandy.mejia@gmail.com\",\nrole = c(\"aut\", \"cre\")),\nperson(given = \"Damon\",\nfamily = \"Pham\",\nemail = \"damondpham@gmail.com\",\nrole = c(\"ctb\"),\ncomment = c(ORCID = \"0000-0001-7563-4727\")),\nperson(given = \"David\",\nfamily = \"Bolin\",\nemail = \"david.bolin@kaust.edu.sa\",\nrole = c(\"ctb\")),\nperson(given = \"Yu (Ryan)\",\nfamily = \"Yue\",\nemail = \"yybaruch@gmail.com\",\nrole = c(\"ctb\")),\nperson(given = \"Daniel\",\nfamily = \"Spencer\",\nemail = \"danieladamspencer@gmail.com\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-9705-3605\")),\nperson(given = \"Sarah\",\nfamily = \"Ryan\",\nemail = \"sarahryan320@gmail.com\",\nrole = c(\"ctb\"))\n)",
  "Maintainer": "Amanda Mejia <mandy.mejia@gmail.com>",
  "Description": "Computes the hemodynamic response function (HRF) for task\nfunctional magnetic resonance imaging (fMRI) data. Also\nincludes functions for constructing a design matrix from task\nfMRI event timings, and for comparing multiple design matrices\nin a general linear model (GLM). A wrapper function is provided\nfor GLM analysis of CIFTI-format data. Lastly, there are\nsupporting functions which provide visual summaries of the HRFs\nand design matrices.",
  "License": "GPL-3",
  "URL": "https://github.com/mandymejia/hrf",
  "BugReports": "https://github.com/mandymejia/hrf/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Language": "en-US",
  "Config/pak/sysreqs": "cmake libfreetype6-dev libglu1-mesa-dev make\ntexlive libicu-dev libpng-dev libuv1-dev libxml2-dev\nlibgl1-mesa-dev zlib1g-dev",
  "Repository": "https://mandymejia.r-universe.dev",
  "Date/Publication": "2025-01-30 21:12:12 UTC",
  "RemoteUrl": "https://github.com/mandymejia/hrf",
  "RemoteRef": "HEAD",
  "RemoteSha": "2fabb578e55313f41ec52655934ef1e896e15987",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-22 10:18:31 UTC",
    "User": "root"
  },
  "Author": "Amanda Mejia [aut, cre],\nDamon Pham [ctb] (ORCID: <https://orcid.org/0000-0001-7563-4727>),\nDavid Bolin [ctb],\nYu (Ryan) Yue [ctb],\nDaniel Spencer [aut] (ORCID: <https://orcid.org/0000-0002-9705-3605>),\nSarah Ryan [ctb]",
  "_user": "mandymejia",
  "_type": "src",
  "_file": "hrf_0.1.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/69f5fc6604447b983befedc97bd676763f8b3a4b5e977260eb1e338044227b45",
  "_filesize": 418553,
  "_sha256": "69f5fc6604447b983befedc97bd676763f8b3a4b5e977260eb1e338044227b45",
  "_expires": "2026-10-12T22:52:12.000Z",
  "_created": "2026-06-22T10:18:31.000Z",
  "_published": "2026-07-04T22:52:13.697Z",
  "_jobs": [
    {
      "job": 85173589500,
      "time": 227,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7789518598"
    },
    {
      "job": 85173589472,
      "time": 228,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7789519399"
    },
    {
      "job": 85173589402,
      "time": 166,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7789486851"
    },
    {
      "job": 85173589319,
      "time": 195,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7789494819"
    },
    {
      "job": 85173589093,
      "time": 267,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7789433704"
    },
    {
      "job": 85173589247,
      "time": 424,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7789592244"
    },
    {
      "job": 85173589471,
      "time": 147,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7789601399"
    },
    {
      "job": 85173589313,
      "time": 121,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7789479242"
    },
    {
      "job": 85173589265,
      "time": 110,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7789475173"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mandymejia/actions/runs/27945510092",
  "_status": "success",
  "_upstream": "https://github.com/mandymejia/hrf",
  "_commit": {
    "id": "2fabb578e55313f41ec52655934ef1e896e15987",
    "author": "Damon Pham <damondpham@gmail.com>",
    "committer": "Damon Pham <damondpham@gmail.com>",
    "message": "Knit README and add badges\n",
    "time": 1738271532
  },
  "_maintainer": {
    "name": "Amanda Mejia",
    "email": "mandy.mejia@gmail.com",
    "login": "mandymejia",
    "twitter": "@mandyfmejia",
    "description": "Associate Professor in the Department of Statistics at Indiana University.  PI of the StatMIND (Statistical Methods for Individualized Neuro-Discovery) lab.",
    "uuid": 5199186
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "car",
      "role": "Imports"
    },
    {
      "package": "ciftiTools",
      "version": ">= 0.15.0",
      "role": "Imports"
    },
    {
      "package": "fMRItools",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    }
  ],
  "_owner": "mandymejia",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "damondpham",
      "count": 14,
      "uuid": 14958204
    },
    {
      "user": "mandymejia",
      "count": 1,
      "uuid": 5199186
    }
  ],
  "_userbio": {
    "uuid": 5199186,
    "type": "user",
    "name": "Mandy Mejia",
    "followers": 80,
    "description": "Associate Professor in the Department of Statistics at Indiana University.  PI of the StatMIND (Statistical Methods for Individualized Neuro-Discovery) lab."
  },
  "_downloads": {
    "count": 224,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hrf"
  },
  "_devurl": "https://github.com/mandymejia/hrf",
  "_searchresults": 13,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hrf.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mandymejia/hrf",
  "_realowner": "mandymejia",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.3",
      "date": "2025-01-30"
    }
  ],
  "_exports": [
    "cderiv",
    "do_QC",
    "HRF_calc",
    "HRF_main",
    "HRF96",
    "make_design",
    "multiGLM",
    "multiGLM_fun",
    "plot_design",
    "plot_design_image",
    "plot_design_line"
  ],
  "_help": [
    {
      "page": "aic_Param",
      "title": "aic",
      "topics": [
        "aic_Param"
      ]
    },
    {
      "page": "ar_order_Param",
      "title": "ar_order",
      "topics": [
        "ar_order_Param"
      ]
    },
    {
      "page": "ar_smooth_Param",
      "title": "ar_smooth",
      "topics": [
        "ar_smooth_Param"
      ]
    },
    {
      "page": "BOLD_Param_BayesGLM",
      "title": "BOLD",
      "topics": [
        "BOLD_Param_BayesGLM"
      ]
    },
    {
      "page": "brainstructures_Param_BayesGLM",
      "title": "brainstructures",
      "topics": [
        "brainstructures_Param_BayesGLM"
      ]
    },
    {
      "page": "cderiv",
      "title": "Central derivative",
      "topics": [
        "cderiv"
      ]
    },
    {
      "page": "Connectome_Workbench_Description",
      "title": "Connectome Workbench",
      "topics": [
        "Connectome_Workbench_Description"
      ]
    },
    {
      "page": "design_Param_BayesGLM",
      "title": "design",
      "topics": [
        "design_Param_BayesGLM"
      ]
    },
    {
      "page": "do_QC",
      "title": "Mask out invalid data",
      "topics": [
        "do_QC"
      ]
    },
    {
      "page": "faces_Param",
      "title": "faces",
      "topics": [
        "faces_Param"
      ]
    },
    {
      "page": "field_names_Param",
      "title": "field_names",
      "topics": [
        "field_names_Param"
      ]
    },
    {
      "page": "hpf_Param_BayesGLM",
      "title": "hpf",
      "topics": [
        "hpf_Param_BayesGLM"
      ]
    },
    {
      "page": "HRF_calc",
      "title": "Canonical HRF and Derivatives",
      "topics": [
        "HRF_calc"
      ]
    },
    {
      "page": "HRF_main",
      "title": "Canonical (double-gamma) HRF",
      "topics": [
        "HRF_main"
      ]
    },
    {
      "page": "HRF96",
      "title": "Canonical (double-gamma) HRF (old one from SPM96, Glover)",
      "topics": [
        "HRF96"
      ]
    },
    {
      "page": "make_design",
      "title": "Make design matrix",
      "topics": [
        "make_design"
      ]
    },
    {
      "page": "mask_Param_vertices",
      "title": "mask: vertices",
      "topics": [
        "mask_Param_vertices"
      ]
    },
    {
      "page": "mean_var_Tol_Param",
      "title": "mean and variance tolerance",
      "topics": [
        "mean_var_Tol_Param"
      ]
    },
    {
      "page": "multiGLM",
      "title": "multiGLM for CIFTI",
      "topics": [
        "multiGLM"
      ]
    },
    {
      "page": "multiGLM_fun",
      "title": "multiGLM0",
      "topics": [
        "multiGLM_fun"
      ]
    },
    {
      "page": "nuisance_Param_BayesGLM",
      "title": "nuisance",
      "topics": [
        "nuisance_Param_BayesGLM"
      ]
    },
    {
      "page": "plot_design",
      "title": "Plot design matrix",
      "topics": [
        "plot_design",
        "plot_design_image",
        "plot_design_line"
      ]
    },
    {
      "page": "plot.BfMRI_design",
      "title": "S3 method: use 'view_xifti' to plot a '\"BGLM\"' object",
      "topics": [
        "plot.BfMRI_design"
      ]
    },
    {
      "page": "resamp_res_Param_BayesGLM",
      "title": "resamp_res",
      "topics": [
        "resamp_res_Param_BayesGLM"
      ]
    },
    {
      "page": "scale_BOLD_Param",
      "title": "scale_BOLD",
      "topics": [
        "scale_BOLD_Param"
      ]
    },
    {
      "page": "scrub_Param_BayesGLM",
      "title": "scrub",
      "topics": [
        "scrub_Param_BayesGLM"
      ]
    },
    {
      "page": "session_names_Param",
      "title": "session_names",
      "topics": [
        "session_names_Param"
      ]
    },
    {
      "page": "summary.BfMRI_design",
      "title": "Summarize a '\"BfMRI_design\"' object",
      "topics": [
        "print.BfMRI_design",
        "print.summary.BfMRI_design",
        "summary.BfMRI_design"
      ]
    },
    {
      "page": "surfaces_Param_BayesGLM",
      "title": "surfaces",
      "topics": [
        "surfaces_Param_BayesGLM"
      ]
    },
    {
      "page": "TR_Param_BayesGLM",
      "title": "TR",
      "topics": [
        "TR_Param_BayesGLM"
      ]
    },
    {
      "page": "verbose_Param",
      "title": "verbose",
      "topics": [
        "verbose_Param"
      ]
    }
  ],
  "_readme": "https://github.com/mandymejia/hrf/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "base64enc",
    "bitops",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "car",
    "carData",
    "ciftiTools",
    "cli",
    "colorspace",
    "cowplot",
    "cpp11",
    "Deriv",
    "digest",
    "doBy",
    "dotCall64",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fields",
    "fMRItools",
    "fontawesome",
    "forecast",
    "Formula",
    "fracdiff",
    "fs",
    "generics",
    "ggplot2",
    "gifti",
    "glue",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "maps",
    "MASS",
    "Matrix",
    "MatrixModels",
    "matrixStats",
    "memoise",
    "mgcv",
    "microbenchmark",
    "mime",
    "minqa",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "oro.nifti",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "purrr",
    "quantreg",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rgl",
    "rlang",
    "rmarkdown",
    "RNifti",
    "S7",
    "sass",
    "scales",
    "spam",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "tinytex",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xml2",
    "yaml",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "hrf_vignette.Rmd",
      "filename": "hrf_vignette.html",
      "title": "Hemodynamic Response Function Modeling with hrf",
      "author": "Damon Pham & Amanda Mejia",
      "engine": "knitr::rmarkdown",
      "headings": [
        "HRF modeling",
        "Design matrix construction"
      ],
      "created": "2025-01-21 21:22:10",
      "modified": "2025-01-21 21:22:10",
      "commits": 1
    }
  ],
  "_score": 4.414973347970818,
  "_indexed": true,
  "_nocasepkg": "hrf",
  "_universes": [
    "mandymejia"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-06-22T10:21:54.000Z",
      "distro": "noble",
      "commit": "2fabb578e55313f41ec52655934ef1e896e15987",
      "fileid": "https://r2.ropensci.org/9afef39980162a958f370b7bdbd6661a6e31efc5923dc9788fdc50c412b77b32",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mandymejia/actions/runs/27945510092"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-06-22T10:21:54.000Z",
      "distro": "noble",
      "commit": "2fabb578e55313f41ec52655934ef1e896e15987",
      "fileid": "https://r2.ropensci.org/e2c7051ab9cfca4a2437368ce05043098322cc1c094d28b93bca9e8116e4d6a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mandymejia/actions/runs/27945510092"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-06-22T10:20:45.000Z",
      "commit": "2fabb578e55313f41ec52655934ef1e896e15987",
      "fileid": "https://r2.ropensci.org/4d8bbcdf3a987e4e8fa6b2cbba685837b3ff25789d8aca1dbd212d05a7ad922b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mandymejia/actions/runs/27945510092"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-06-22T10:21:00.000Z",
      "commit": "2fabb578e55313f41ec52655934ef1e896e15987",
      "fileid": "https://r2.ropensci.org/2d6fa4883f89195a80ece6b6a200e9ce18f89dddeb85a82750110475a9e26e5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mandymejia/actions/runs/27945510092"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-06-22T10:25:52.000Z",
      "commit": "2fabb578e55313f41ec52655934ef1e896e15987",
      "fileid": "https://r2.ropensci.org/2a04bc4eea3dc528b8bf1095fecf91bc1fb075a7e6b815d9dbe3b8bf6b61ce2b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mandymejia/actions/runs/27945510092"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-06-22T10:25:29.000Z",
      "commit": "2fabb578e55313f41ec52655934ef1e896e15987",
      "fileid": "https://r2.ropensci.org/6c2fae6b45ff7ee77a43a1341141485c5c6869113aabae39296e34159d253032",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mandymejia/actions/runs/27945510092"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-06-22T10:20:04.000Z",
      "commit": "2fabb578e55313f41ec52655934ef1e896e15987",
      "fileid": "https://r2.ropensci.org/7d7b480a3e91c5fc33e61ea0fa296b8ecb8e89d3ddb591cbed610cf271b26563",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mandymejia/actions/runs/27945510092"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-06-22T10:19:54.000Z",
      "commit": "2fabb578e55313f41ec52655934ef1e896e15987",
      "fileid": "https://r2.ropensci.org/37ee9b20e8c02494ddd68a9d63ba24c5cdca2390b061735552e10a8053b7aa5a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mandymejia/actions/runs/27945510092"
    }
  ]
}