origin: Origin

Description Usage Arguments Author(s) See Also Examples

Description

Draws coordinate axes in a plot.

Usage

1
origin(m=c(0,0), ...)

Arguments

m

the coordinates of the means (2 x 1).

...

other arguments passed on to the lines function

Author(s)

Jan Graffelman (jan.graffelman@upc.edu)

See Also

lines

Examples

1
2
3
   X <- matrix(runif(40),ncol=2)
   plot(X[,1],X[,2])
   origin(m=c(mean(X[,1]),mean(X[,2])))

Example output

Loading required package: MASS

calibrate documentation built on July 1, 2020, 7:03 p.m.