Check if a covariance matrix (object of class 'Cov') is singular

Share:

Description

Returns TRUE if the covariance matrix contained in a Cov-class object (or derived from) is singular.

Usage

1
2
    ## S4 method for signature 'Cov'
isSingular(obj)

Arguments

obj

an object of class (derived from) "Cov".

Methods

isSingular

signature(x = Cov): Check if a covariance matrix (object of class Cov-class) is singular.

See Also

Cov-class, CovClassic, CovRobust-class.

Examples

1
2
3
data(hbk)
cc <- CovClassic(hbk)
isSingular(cc)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.