Learn R Programming

pcv (version 1.1.0)

plotD: Plots heatmap for scaling coefficients obtained when generating PV-set for PCR or PLS

Description

Plots heatmap for scaling coefficients obtained when generating PV-set for PCR or PLS

Usage

plotD(
  Xpv,
  colmap = colorRampPalette(c("blue", "white", "red"))(256),
  lim = c(-2, 4),
  xlab = "Components",
  ylab = "Segments",
  ...
)

Value

No return value, just creates a plot.

Arguments

Xpv

PV-set generated by `pcvpcr()` or `pcvpls()`.

colmap

colormap - any with 256 colors.

lim

limits for color map (smallest/largest expected value), centered around 1.

xlab

label for x-axis

ylab

label for y-axis

...

any other parameters for method `image`