plot.plsreg2 {plspm}R Documentation

Plot PLSR2 basic results

Description

Plot method for objects of class "plsreg2"

Usage

  ## S3 method for class 'plsreg2':
  plot(x, ...)

Arguments

x An object of class "plsreg2" returned by plsreg2.
... Further arguments are ignored.

Details

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)

Author(s)

Gaston Sanchez

See Also

plsreg2, plsreg1

Examples

  ## Not run: 
  ## example of plsreg2
  data(vehicles)
  pls2 <- plsreg2(vehicles[,1:12], vehicles[,13:16])
  plot(pls2)
  
## End(Not run)

[Package plspm version 0.1-4 Index]