[R] connecting points into a smooth curve

tooblue kaiyan at berkeley.edu
Mon Nov 1 07:18:47 CET 2010


If I have, say, five scatter points and want to connect them together into a
smooth curve.
I did plot(x,y,type="l"), but the graph is five segments connecting with
each other, but not a smooth curve. 
I wonder if there is a line type that is a curve. Thanks!


-- 
View this message in context: http://r.789695.n4.nabble.com/connecting-points-into-a-smooth-curve-tp3021796p3021796.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list