CURobj-class: Class "CURobj"

Description Objects from the Class Slots Methods References Examples

Description

Class for the results of CUR decompostion performed by the function CUR

Objects from the Class

Objects can be created by calls to the function CUR

Slots

C:

matrix C

U:

matrix U

R:

matrix R

C.leverage.score:

leverage scores of the columns

R.leverage.score:

leverage scores of the rows

C.index:

index of columns selected for C

R.index:

index of rows selected for R

Error:

the error of the approximation

Methods

getC

retrieves the matrix C from object of CURobj-class

getU

retrieves the matrix U from object of CURobj-class

getR

retrieves the matrix R from object of CURobj-class

getError

retrieves the error from object of CURobj-class

leverage

retrieves the vector of leverage scores from object of CURobj-class

topLeverage

retrieves the top elements of leverage scores from object of CURobj-class

plotLeverage

plot the leverage scores of CURobj-class object

References

Mahoney M. W. and Drineas P. (2009) CUR matrix decompositions for improved data analysis. PNAS, 106(3):697-702

Andras Bodor, Istvan Csabai, Michael W Mahoney and Norbert Solymosi rCUR:an R package for CUR matrix decomposition BMC Bioinformatics 2012, 13:103 doi:10.1186/1471-2105-13-103

Examples

1
showClass("CURobj")

Example output

Loading required package: MASS
Loading required package: Matrix
Loading required package: lattice
Class "CURobj" [package "rCUR"]

Slots:
                                                                          
Name:                 C                U                R C.leverage.score
Class:           matrix           matrix           matrix          numeric
                                                                          
Name:  R.leverage.score          C.index          R.index            Error
Class:          numeric          integer          integer          numeric

rCUR documentation built on May 2, 2019, 2:21 a.m.