Learn R Programming

plspm (version 0.2-2)

plot.plsreg2: Plot PLSR2 basic results

Description

Plot method for objects of class "plsreg2"

Usage

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

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)

See Also

plsreg2, plsreg1

Examples

Run this code
## example of plsreg2
  data(vehicles)
  pls2 <- plsreg2(vehicles[,1:12], vehicles[,13:16])
  plot(pls2)

Run the code above in your browser using DataLab