Learn R Programming

mdatools (version 0.14.1)

plotScores.ldecomp: Scores plot

Description

Shows a plot with scores values for data objects.

Usage

# S3 method for ldecomp
plotScores(
  obj,
  comp = if (obj$ncomp > 1) c(1, 2) else 1,
  type = "p",
  show.axes = TRUE,
  show.plot = TRUE,
  ...
)

Arguments

obj

object of ldecomp class.

comp

which components to show the plot for (can be one value or vector with two values).

type

type of the plot

show.axes

logical, show or not a axes lines crossing origin (0,0)

show.plot

logical, shall plot be created or just plot series object is needed

...

most of graphical parameters from mdaplot function can be used.