pca_naive: Basic PCA.

Description Usage Arguments Author(s)

Description

Most of this code is from the package cate. I corrected some problems. Specifically, I allow r = 0 and I included a few needed drop = FALSE terms. I also divide by nrow(Y) - r rather than by nrow(Y).

Usage

1
pca_naive(Y, r)

Arguments

Y

A matrix of numerics. The data.

r

the rank.

Author(s)

David Gerard


dcgerard/succotashr documentation built on May 15, 2019, 1:25 a.m.