graph.utility {PreProcess}R Documentation

OOMPA graphical utility functions

Description

Utility functions for graphics.

Usage

ellipse(a, b, ...)
f.qq(x, main = "", cut = 0, ...)
f.qt(x, df, main = "", cut = 0, ...)

Arguments

a Half the length of the elliptical axis in the x-direction
b Half the length of the elliptical axis in the y-direction
main Atext string
cut A real number
df An integer; the number of degrees of fredom in the t-test
... Additional graphical parameters passed on to lower-level functions
x A numeric vector

Details

The ellipse function draws an ellipse on an existing plots. The ellipses produced by this function are centered at the origin and are oriented with their major and minor axes parallel to the coordinate axes. The current implementation uses points internally.

The function f.qq is a wrapper that combines qqnorm and qqline into a single function call.

The function f.qt is a wrapper that produces quantile-quantile plots comparing the observed vectror x with a T-distribution.

Value

Author(s)

Kevin R. Coombes <kcoombes@mdanderson.org>

See Also

See also points

Examples

x <- rnorm(1000, 1, 2)
y <- rnorm(1000, 1, 2)
plot(x,y)
ellipse(1, 1, col=6, type='l', lwd=2)
ellipse(3, 2, col=6, type='l', lwd=2)
f.qq(x, main='Demo', col='blue')
f.qq(x, cut = 3)
f.qt(x, df = 3)
f.qt(x, df = 40)

[Package PreProcess version 1.2 Index]