[R] evaluating density objects

Liaw, Andy andy_liaw at merck.com
Thu Nov 14 16:30:10 CET 2002


An object of class `density' has `x' and `y' components, which are what you
need to do the plot.  Just bind them into a matrix and use write() to write
to a file.

HTH,
Andy

-----Original Message-----
From: Hinnerk Boriss [mailto:boriss at izbi.uni-leipzig.de]
Sent: Thursday, November 14, 2002 7:12 AM
To: R-help at stat.math.ethz.ch
Subject: [R] evaluating density objects


Hi!

Is there a way to evaluate "density" objects other than with plot, so
that I can write data points to a file and plot them with gnuplot? Can
anyone help?

Cheers,
Hinnerk

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._


------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message.  If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it.

==============================================================================

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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