[R] "regression" line of 2 independent variables

array chip arrayprofile at yahoo.com
Mon Aug 9 18:34:25 CEST 2010


Hi, I would like to a draw a scatterplot of x1 and x2 (plot (x1, x2)), and also 
want to draw a sort of "regression" line across the data points. But x1 and x2 
are just 2 independent variables, so in this case a regression of x1 over x2, or 
vice versa, is not appropriate per se. What would be an appropriate way to do 
this? Thanks for any suggestions.

John



More information about the R-help mailing list