[R] R newbie question

Michael mwh_acs at hotmail.com
Thu Mar 4 15:13:34 CET 2004



Hi all

I have just started using R (1.8.1) on Mac OS X & am very excited about the
potential of such a flexible system with such good graphics potential & so
many useful packages available. Congratulations to all the developers & I
hope to be contributing some packages myself in the near future, once I have
got my head around what is required.

It will take me some time to convert seamlessly from the syntax of STATA
which I have used for many years, but which continues to ignore the requests
of its' users for better graphical output (e.g. 3D contour & surface
plotting).  I am still working my way through the R documentation.

I can see that scatterplot matrices are available (via pairs etc.) as well
as 2D kernel density estimates & contour plots - though I am still getting
used to all the options that can be specified.  My question is: is it
possible to use some options to produce the scatterplot format but with 2D
KDE contour plots in each pane rather than the points themselves?

A secondary question is: how can I define a different 'colour table' for a
contour plot e.g. one based on 'heat' so that low values are black, up
through blue, green, red, orange, yellow & white.

Many thanks & please feel free to reply directly to my email
(mwh_acs at hotmail.com)

Michael Hopkins

 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

      _/    _/   _/_/_/               Hopkins Research Ltd
     _/    _/   _/    _/
    _/_/_/_/   _/_/_/                Virtual R&D Solutions
   _/    _/   _/   _/
  _/    _/   _/     _/               Tel: 0781 3467 381 (UK)
                   
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

        `All models are wrong, but some are useful' - George Box




More information about the R-help mailing list