Fits ASCA-like term-specific PLS decompositions by projecting the Task PLS cross-block matrix into centered factorial design subspaces, then computing an SVD within each projected subspace.
Arguments
- result
A Task PLS
pls_resultproduced withpls_analysis(..., keep_crossblock = TRUE)orrun(..., keep_crossblock = TRUE).- design
Optional
pls_designobject.- formula
Optional one-sided formula overriding
design$formula.- condition_key
Optional condition metadata.
- terms
"all"or a character vector of term labels to decompose.- ncomp
Optional number of components to retain per term.
- statistic
"trace"for total subspace covariance energy, or"largest_root"for the dominant singular-root statistic.- weights
"cell_equal","subject_count", or"row_weights"to use storedresult$task_pls$row_weights.- keep_crossblocks
Logical; retain projected cross-block matrices.