degreesFreedom: Degrees of Freedom of a Covariance Matrix

Description Usage Arguments Details Value Examples

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/covEstR documentation built on May 7, 2019, 7:58 a.m.