Learn R Programming

plspm (version 0.2-2)

plot.plsreg1: Plot PLSR1 basic results

Description

Plot method for objects of class "plsreg1"

Usage

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

Arguments

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

Details

The function plot.plsreg1 displays four plots: 1) the circle of correlations between the variables and the first two components (scores) 2) the plot of components (t1,t2) and the plot of components (t1,u1) 3) the plot of T2 Hotelling Confidence ellipse 4) the dot chart comparing the response variable (Y) with the predicted values (Y-predicted)

See Also

plsreg1, plsreg2

Examples

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

Run the code above in your browser using DataLab