x <- 1:5 y <- c(1,3,4, 2.5,2) plot(x, y) sp <- spline(x, y, n = 50) lines(sp)
-roger
Rado Bonk wrote:
Hi R-users,
I have a line graph made by plot(). The line is very similar to hyperbola, and consists of 5 points. How can I make it look smooth?
Thanks,
Rado
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
