Learn R Programming

rCUR (version 1.3)

leverage: Retrieve leverage scores from CURobj-class

Description

Retrieve leverage scores from CURobj-class

Usage

leverage(object, C = TRUE)

Arguments

object
object of class CURobj-class
C
logical, if it is TRUE, then the obtained leverage scores belongs to columns, if FALSE, then to rows

Value

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

Run this code
data(STTm)
res <- CUR(STTm, 31, 12, 3)
leverage(res, C=TRUE)

Run the code above in your browser using DataLab