print.kSearch: Printing an Object of Class kSearch

View source: R/kSearch.R

print.kSearchR Documentation

Printing an Object of Class kSearch

Description

Basic printing of an object of class kSearch. Prints the estimated dimension k along with all tested values and corresponding p-values.

Usage

## S3 method for class 'kSearch'
print(x, digits = getOption("digits"), ...)

Arguments

x

An object of class kSearch.

digits

Number of significant digits to use when printing p-values. Defaults to getOption("digits").

...

Further arguments.

Author(s)

Katariina Perkonoja

See Also

summary.kSearch, kSearch

Examples

n <- 500
S <- cbind(rnorm(n, sd = 2), rnorm(n, sd = 1.5), rnorm(n), rnorm(n))
A <- rorth(4)
X <- S %*% t(A)
result <- kSearch(X, method = PCAasymp)
result


ICtest documentation built on June 8, 2025, 10:42 a.m.