predict.bigarx: Proyecta filas o columnas suplementarias

View source: R/bigarx.R

predict.bigarxR Documentation

Proyecta filas o columnas suplementarias

Description

Sitúa en el biplot nuevas filas (individuos) o columnas (variables) sin recalcular los ejes. Las filas se transforman con los parámetros de la matriz activa; las columnas, con sus propias medias y desviaciones.

Usage

## S3 method for class 'bigarx'
predict(object, newdata, type = c("rows", "cols"), ...)

## S3 method for class 'bigarx_canonical'
predict(object, newdata, ...)

Arguments

object

Objeto "bigarx".

newdata

Matriz o data.frame numérico.

type

"rows" (por defecto) o "cols".

...

No se usa.

Value

Matriz de coordenadas en los mismos ejes que object.

Examples

fit <- bigarx(USArrests[-(1:5), ])
predict(fit, USArrests[1:5, ])

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