isSingular: Check if a covariance matrix (object of class 'Cov') is...

isSingular-methodsR Documentation

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

Description

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

Usage

    ## 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


data(hbk)
cc <- CovClassic(hbk)
isSingular(cc)

rrcov documentation built on May 29, 2024, 1:13 a.m.