CNdiag: Function to check condition number diagnostic.

Description Usage Arguments Value Examples

View source: R/elicit_functions.R

Description

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

Usage

1
CNdiag(X)

Arguments

X

Design matrix

Value

a scalar giving the condition number of the rescaled design matrix

Examples

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

indirect documentation built on May 1, 2019, 6:35 p.m.