Learn R Programming

tclust (version 2.0-5)

plot.rlg: Plot an 'rlg' object

Description

Different plots for the results of 'rlg' analysis, stored in an rlg object, see Details.

Usage

# S3 method for rlg
plot(
  x,
  which = c("all", "scores", "loadings", "eigenvalues"),
  sort = TRUE,
  ask = (which == "all" && dev.interactive(TRUE)),
  ...
)

Arguments

x

An rlg object to plot.

which

Select the required plot.

sort

Whether to sort.

ask

if TRUE, the user is asked before each plot, see par(ask=.). Default is ask = which=="all" && dev.interactive().

...

Other parameters to be passed to the lower level functions.

Examples

Run this code
 data (LG5data)
 x <- LG5data[, 1:10]
 clus <- rlg(x, d = c(2,2,2), alpha=0.1)
 plot(clus, which="eigenvalues") 
 plot(clus, which="scores") 

Run the code above in your browser using DataLab