Learn R Programming

rrcov (version 1.7-6)

isSingular-methods: 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 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

Run this code

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

Run the code above in your browser using DataLab