Learn R Programming

feature (version 1.2.2)

SiZer: SiZer plot for 1-dimensional data

Description

SiZer (Significant Zero crossings) plot for 1-dimensional data.

Usage

SiZer(x, bw, gridsize, scaleData=FALSE, signifLevel=0.05,
      plotSiZer=TRUE, logbw=TRUE, xlim, xlab, 
      addLegend=TRUE, posLegend="topright")

Arguments

x
data vector
bw
vector of range of bandwidths
gridsize
number of x- and y-axis grid points
scaleData
flag for scaling the data i.e. transforming to unit variance for each dimension.
signifLevel
significance level
plotSiZer
flag for displaying SiZer map
logbw
flag for displaying log bandwidths on y-axis
xlim
x-axis limits
xlab
x-axis label
addLegend
flag for legend display
posLegend
legend position

Value

  • SiZer plot sent to graphics window.

Details

The gradient SiZer map of Chaudhuri & Marron (1999) is implemented. The horizontal axis is the data axis, the vertical axis are the bandwidths.

References

Chaudhuri, P. and Marron, J.S. (1999) SiZer for exploration of structures in curves. Journal of the American Statistical Association, 94, 807-823.

See Also

featureSignif

Examples

Run this code
data(earthquake)
eq3 <- -log10(-earthquake[,3])
SiZer(eq3, xlab="-log(-depth)")
SiZer(eq3, xlab="-log(-depth)", bw=c(0.05, 1.3), gridsize=401)

Run the code above in your browser using DataLab