print.projector: Pretty Print Method for 'projector' Objects

View source: R/projector.R

print.projectorR Documentation

Pretty Print Method for projector Objects

Description

Display a human-readable summary of a projector object using crayon formatting, including information about the dimensions of the projection matrix and the pre-processing pipeline.

Usage

## S3 method for class 'projector'
print(x, ...)

Arguments

x

A projector object.

...

Additional arguments passed to print().

Examples

X <- matrix(rnorm(10*10), 10, 10)
svdfit <- svd(X)
p <- projector(svdfit$v)
print(p)

bbuchsbaum/multivarious documentation built on Dec. 23, 2024, 7:47 a.m.