Creates a configuration object for soft subspace projection.
Usage
soft_subspace_options(
enabled = FALSE,
nuisance_mask = NULL,
nuisance_matrix = NULL,
lambda = "auto",
warn_redundant = TRUE
)Arguments
- enabled
Logical. Whether to apply soft subspace projection.
- nuisance_mask
Path to NIfTI mask or logical vector indicating nuisance voxels.
- nuisance_matrix
Pre-computed nuisance timeseries matrix (alternative to mask).
- lambda
Ridge penalty: numeric, "auto", or "gcv".
- warn_redundant
Logical. Warn if baseline model contains nuisance terms.