Project a specific block (subject) using a hatsa_projector object
Source:R/hatsa_projector.R
project_block.hatsa_projector.Rd
Retrieves the aligned spectral sketch for a specified subject. If new data for that subject is provided, it projects that new data. Otherwise, it extracts the stored aligned sketch from the original analysis.
Arguments
- object
A fitted
hatsa_projector
object.- newdata
Optional. A single numeric matrix of parcel time-series data (T_i x V_p) for the subject specified by
block
. If NULL, the stored sketch for the block is returned. If provided, this new data is projected.- block
An integer, the index of the subject (block) to project.
- ...
Additional arguments passed to
predict.hatsa_projector
ifnewdata
is provided.