Learn R Programming

plspm (version 0.2-2)

plot.nipals: Plot NIPALS basic results

Description

Plot method for objects of class "nipals"

Usage

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

Arguments

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

Details

The function plot.nipals displays three plots: 1) screeplots of the pseudo eigenvalues 2) the circle of correlations between variables and the first two components (scores) 3) the plot of the two first scores, and the plot of the two first loadings

See Also

nipals

Examples

Run this code
## example of NIPALS algorithm
  data(wines)
  nip1 <- nipals(wines[,-1], nc=5)
  plot(nip1)

Run the code above in your browser using DataLab