View source: R/fmri_latent_lm.R
chunkwise_lm.latent_dataset | R Documentation |
Internal function for performing chunkwise linear regression on latent datasets
## S3 method for class 'latent_dataset'
chunkwise_lm(
dset,
model,
conlist,
nchunks,
robust = FALSE,
verbose = FALSE,
autocor = c("auto", "ar1", "ar2", "arma", "none"),
bootstrap = FALSE,
nboot = 1000,
boot_rows = FALSE
)
dset |
A latent dataset object. |
model |
The fmri model object. |
conlist |
A list of contrasts. |
nchunks |
The number of chunks to use for the regression. |
robust |
Logical, if TRUE, robust regression will be performed. |
verbose |
Logical, if TRUE, additional output will be printed. |
autocor |
A character string specifying the autocorrelation method to use. |
bootstrap |
Logical, if TRUE, bootstrapping will be performed. |
nboot |
The number of bootstrap iterations. |
boot_rows |
Logical, if TRUE, bootstrap row-wise. |
This function is an internal helper function for fmri_latent_lm, which performs chunkwise linear regression on latent datasets. The function handles different autocorrelation options, as well as robust regression and bootstrapping.
A list containing the results of the chunkwise linear regression.
fmri_latent_lm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.