coef.fmri_lm: Extract Model Coefficients from an fmri_lm Object

View source: R/fmrilm.R

coef.fmri_lmR Documentation

Extract Model Coefficients from an fmri_lm Object

Description

This function extracts model coefficients (estimates) from an fmri_lm object.

Usage

## S3 method for class 'fmri_lm'
coef(object, type = c("betas", "contrasts"), recon = FALSE, ...)

Arguments

object

An fmri_lm object.

type

The type of coefficients to extract: "betas" or "contrasts". Default is "betas".

recon

Logical. If TRUE, reconstructs the coefficients into a neuroimaging volume. Default is FALSE.

...

Additional arguments (currently unused).

Value

A tibble or matrix of coefficients.


bbuchsbaum/fmrireg documentation built on March 1, 2025, 11:20 a.m.