degreesFreedom: Degrees of Freedom of a Covariance Matrix

Description Usage Arguments Details Value Examples

View source: R/degreesFreedom.R

Description

Degrees of Freedom of a Covariance Matrix

Usage

1

Arguments

x

a matrix with class covariance

Details

This function uses the f_eval function from the lazyeval package to return the degrees of freedom stored within the df attribute of a matrix object having the additional class covariance. This evaluation is necessary because the df attribute of a matrix with class covariance is stored as a formula object.

Value

The degrees of freedom of the covariance matrix, as a numeric object

Examples

1
2

BenBarnard/covEst documentation built on May 5, 2019, 2:40 p.m.