plot.hotspots {hotspots}R Documentation

Plotting hot spot and outlier cutoffs

Description

plot method for class "hotspots".

Usage

## S3 method for "hotspots" objects
## S3 method for class 'hotspots'
plot(x, pch = par("pch"), ...)

Arguments

x

"hotspots" object

pch

plotting character. See par

...

further plotting parameters to pass to densityplot

Details

Uses the function densityplot from the lattice package to show the distribution of the data and the position of the positive and/or negative hot spot or outlier cutoffs.

Value

An object of class "trellis".

Author(s)

Anthony Darrouzet-Nardi

See Also

hotspots, summary.hotspots, densityplot

Examples

#both tails on skewed data
rln100pn <- hotspots(c(rlnorm(50),rlnorm(50)*-1),tail = "both")
plot(rln100pn)

#modify graphical parameters
plot(rln100pn, pch = 16, cex = 1.5)

[Package hotspots version 1.0.3 Index]