CNdiag {indirect}R Documentation

Function to check condition number diagnostic.

Description

This function calculates the condition number of the rescaled n x p design matrix X such that each column has unit length.

Usage

CNdiag(X)

Arguments

X

Design matrix

Value

a scalar giving the condition number of the rescaled design matrix

Examples

X <- matrix(rnorm(16), nrow = 4)
CNdiag(X)

[Package indirect version 0.2.1 Index]