new.cov: Function for the new covariance matrix in the multigroup PCA...

View source: R/newcovmultipca.r

new.covR Documentation

Function for the new covariance matrix in the multigroup PCA method

Description

Generates covariance matrix...

Usage

new.cov(x, cls, A)

Arguments

x

is a matrix with the data

cls

is a vector of classes

A

is a symmetric and positive definite matrix associated to inner product respect to the base of its vectorial space.

Value

return an grafics.

Examples

library(plsgenomics)
data(SRBCT)
mydata<-SRBCT$X
mydata<-mydata[1:50,1:20]
groups<-as.factor(SRBCT$Y)[1:50]
new.cov(x=mydata,cls=groups,A=diag(ncol(mydata)))

MultiGroupO documentation built on Sept. 11, 2024, 7:47 p.m.