[R] Automated plot and linear regression line/data

Paul Hiemstra p.hiemstra at geo.uu.nl
Tue Aug 17 14:53:14 CEST 2010


On 08/17/2010 11:47 AM, ashz wrote:
> Hi,
>
> I have an excel sheet (already imported to R) with multiple columns and I am
> looking for a way in R that will allow me to generate a plot for every
> possible pair and its linear regression line/data.
>
> Any tip/idea/script how do to so.
>
> Thanks,
> As hz
>
>    
?plot
?lattice:::xyplot
?lm

cheers,
Paul

-- 
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone:  +3130 253 5773
http://intamap.geo.uu.nl/~paul
http://nl.linkedin.com/pub/paul-hiemstra/20/30b/770



More information about the R-help mailing list