plot.plsreg2 {plspm} | R Documentation |
Plot method for objects of class "plsreg2"
## S3 method for class 'plsreg2': plot(x, ...)
x |
An object of class "plsreg2" returned by plsreg2 . |
... |
Further arguments are ignored. |
The function plot.plsreg2
displays four plots:
1) the circle of correlations between the variables and the first two components (scores)
2) the plot of weights and loadings (w,c)
3) the plot of components (t1,t2) and the plot of components (u1,u2)
4) the plot of components (t1,u1) and the plot of components (t2,u2)
Gaston Sanchez
## Not run: ## example of plsreg2 data(vehicles) pls2 <- plsreg2(vehicles[,1:12], vehicles[,13:16]) plot(pls2) ## End(Not run)