pca: Our implementation of principal component analysis (PCA)

Description Usage Arguments Value

View source: R/clustering.R

Description

Given an data matrix x, a linear projection is applied to maximise sample variation. The first two prinicpal components are returned.

Usage

1
pca(x, sigma = 1.5)

Arguments

x

numeric matrix of data, where rows are samples

sigma

Value

dataframe of sample projections onto PC1 and PC2


g-l-mansell/RcppRidge documentation built on Dec. 20, 2021, 9:43 a.m.