projed: project data matrix x to the orthogonal complement of data...

View source: R/jasaDataAnalysis.R

projedR Documentation

project data matrix x to the orthogonal complement of data matrix z.

Description

This function uses linear projector (I-z(z^tz)^(-1)z^t) to project.

Usage

projed(x, z)

Arguments

x

matrix (nxp) to be projected.

z

matrix (nxq) the projection is based on.

Details

compute (I-z(z^tz)^(-1)z^t)x

Value

the projected x.

Examples

## Not run: projed(x,z)


hychen-uic/TEV documentation built on Jan. 24, 2025, 9:14 p.m.