R-beta: pairs-plot

Andreas Weingessel Andreas.Weingessel at ci.tuwien.ac.at
Wed Jan 14 09:11:45 CET 1998


I have the following problem. I have some multidimensional data points
"x" and a curve "fit" fitted to these points. How can I combine
R> pairs(x)
and
R> pairs(fit,panel=lines)
in one plot, so that I can see how good the curve fits the data?

A command like
R> pairs(x, panel=function(x,y) {points(x,y); lines(lowess(x,y))})
does not work, since I fit the curve in all dimensions at once.

Thanks,
	Andreas

************************************************************************
*                          Andreas Weingessel                          *
************************************************************************
* Institut für Statistik      *                Tel: (+43 1) 58801 4541 *
* Technische Universität Wien *                Fax: (+43 1)  504 14 98 *
* Wiedner Hauptstr. 8-10/1071 *     Andreas.Weingessel at ci.tuwien.ac.at *
* A-1040 Wien, Austria        * http://www.ci.tuwien.ac.at/~weingessel *
************************************************************************


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