cancel
Showing results for 
Search instead for 
Did you mean: 

Has anyone used R?

Community Veteran
Posts: 2,106
Registered: 06-02-2008

Has anyone used R?

I'm looking at R to produce a basic graphical plot of a line between point(x1,y1) and point(x2,y2) (many times) but it's eluding me! I don't want to spend ages on it as I doubt I'll be using the software again any time soon so going through the whole manual will be a little (ahem) pointless.
Can anyone give me the line(s) of code required so that i can drop in my own data from Excel?
Ta Smiley
1 REPLY
Superuser
Superuser
Posts: 9,765
Thanks: 1,150
Fixes: 63
Registered: 06-04-2007

Re: Has anyone used R?

The PDF at web2.uwindsor.ca/math/hlynka/RgraphicsHlynka.pdf seems to provide many example plots including lines. Hopefully code from the first few examples or from #21 onwards will provide what you are seeking. I get the impression axes (bounds) have to be defined first before lines can be added.
Example 7 contains a short list of the plotting commands. Smiley
David