new.cov {MultiGroupO}R 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)))

[Package MultiGroupO version 0.4.0 Index]