| predict.bigarx | R Documentation |
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.
## S3 method for class 'bigarx'
predict(object, newdata, type = c("rows", "cols"), ...)
## S3 method for class 'bigarx_canonical'
predict(object, newdata, ...)
object |
Objeto |
newdata |
Matriz o data.frame numérico. |
type |
|
... |
No se usa. |
Matriz de coordenadas en los mismos ejes que object.
fit <- bigarx(USArrests[-(1:5), ])
predict(fit, USArrests[1:5, ])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.