[R] hist2d() function in R?

Aleksey Naumov naumov at acsu.buffalo.edu
Sun Mar 26 21:47:24 CEST 2000


Dear R users,

I am just starting with R (v. 1.0.0) and I use Vehables & Ripley's
MASS book for examples.
In the intro session, there is an example of a 2D histogram on an 8x8
grid:

x <- rnorm(1000)
y <- rnorm(1000)
contour(hist2d(x,y,,,8,8))

R complains:

Error in contour(hist2d(x, y, , , 8, 8)) :
        couldn't find function "hist2d"

I looked for hist2d() in the manual (including the latest development
version), but didn't
find it. Is there such a function or a suitable substitute?

Thank you!
Aleksey



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list