powered by
Draws coordinate axes in a plot.
origin(m=c(0,0), ...)
the coordinates of the means (2 x 1).
other arguments passed on to the lines function
lines
# NOT RUN { X <- matrix(runif(40),ncol=2) plot(X[,1],X[,2]) origin(m=c(mean(X[,1]),mean(X[,2]))) # }
Run the code above in your browser using DataLab