Learn R Programming

STB (version 0.6.5)

plot.STB: Plot Objects of Class 'STB'.

Description

Standard plotting method for objects of class 'STB'.

Usage

# S3 method for STB
plot(x, ...)

Arguments

x

(object) of class 'STB' as generated by function getSTB

...

arguments passed to other methods

Details

This function plots objects of class 'STB' as generated by function stb. Objects of S3-class 'STB' are list-type objects storing all the information needed to plot QQ-plots with simultaneous tolerance bounds.

See Also

stb

Examples

Run this code
# NOT RUN {
### generate an 'STB' object without plotting
obj <- stb(rnorm(30), plot=FALSE)
plot(obj)

### manipulate the 'STB' object for plotting
obj$legend=TRUE
plot(obj)

### add a previously generated STB-ocject to an existing plot
plot(sort(rnorm(30)), sort(rnorm(30)))
obj$add <- TRUE
plot(obj) 
# }

Run the code above in your browser using DataLab