as_bigarx: Convierte un objeto 'prcomp' en un biplot de BiGaRx

View source: R/bigarx.R

as_bigarxR Documentation

Convierte un objeto prcomp en un biplot de BiGaRx

Description

Reutiliza la SVD ya calculada por stats::prcomp() para obtener cualquiera de los biplots de bigarx().

Usage

as_bigarx(x, ...)

## S3 method for class 'prcomp'
as_bigarx(
  x,
  method = c("hj", "gh", "jk", "sqrt"),
  alpha = NULL,
  ndim = 3,
  fix_signs = TRUE,
  ...
)

Arguments

x

Objeto de clase "prcomp" con retx = TRUE.

...

No se usa.

method, alpha, ndim, fix_signs

Como en bigarx().

Value

Objeto "bigarx". No incluye elementos suplementarios.

Examples

p <- prcomp(USArrests, scale. = TRUE)
as_bigarx(p, method = "hj")

BiGaRx documentation built on Oct. 30, 2026, 1:07 a.m.