leverage: Retrieve leverage scores from CURobj-class

Description Usage Arguments Value References Examples

Description

Retrieve leverage scores from CURobj-class

Usage

1
	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

the function returns a numerical vector of leverage scores

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
2
3
data(STTm)
res <- CUR(STTm, 31, 12, 3)
leverage(res, C=TRUE)

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