plot.hotspots: Plotting hot spot and outlier cutoffs

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/plot.hotspots.R

Description

plot method for class "hotspots".

Usage

1
2
3
## 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

1
2
3
4
5
6
#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)

Example output

Loading required package: lattice
Loading required package: ineq

hotspots documentation built on May 1, 2019, 8:19 p.m.