Learn R Programming

spThin (version 0.2.0)

plotThin: Plot diagnosis for results of thin function

Description

Three plots (selected by which) are currently available: a plot of the number of repetitions versus the number of maximum records retained at each repetition ([1] observed values; [2] log transformed) and a histogram of the maximun records retained [3].

Usage

plotThin(
  thinned,
  which = c(1:3),
  ask = prod(par("mfcol")) < length(which) && dev.interactive(),
  ...
)

Arguments

thinned

A list of data.frames returned by thin function.

which

if a subset of the plots is required, specify a subset of the numbers 1:3.

ask

logical; if TRUE, the user is asked before each plot, see par(ask=.).

...

other parameters to be passed through to plotting functions.

See Also

thin.algorithm

thin