This is a convenience wrapper around lss() that selects one of the optimized
implementations.
Usage
lss_optimized_fit(
Y,
X,
Z = NULL,
Nuisance = NULL,
engine = c("cpp", "r"),
block_size = 96,
prewhiten = NULL
)Arguments
- Y
Numeric matrix (timepoints x voxels).
- X
Trial design matrix (timepoints x trials).
- Z
Optional experimental regressors.
- Nuisance
Optional nuisance regressors to project out.
- engine
"cpp"(default) formethod="cpp_optimized"or"r"formethod="r_optimized".- block_size
Block size used by the C++ optimized path.
- prewhiten
Optional prewhitening options list (see
prewhiten_options()).