Learn R Programming

hotspots (version 1.0.5)

plot.hotspots: Plotting hot spot and outlier cutoffs

Description

plot method for class "hotspots".

Usage

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

Value

An object of class "trellis".

Arguments

x

"hotspots" object

pch

plotting character. See par

...

further plotting parameters to pass to densityplot

Author

Anthony Darrouzet-Nardi

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.

See Also

hotspots, summary.hotspots, densityplot

Examples

Run this code
#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)

Run the code above in your browser using DataLab