About R script
Here just a demostrate that use PHP to receive and show the plot which automaticly created by R.
And all the scripts can be finded in the R Help or see the R website
R-project and
R-CRAN.
Lowess (cars)
data(cars)
plot(cars, main = "lowess(cars)")
lines(lowess(cars), col = 2)
lines(lowess(cars, f=.2), col = 3)
legend(5, 120, c(paste("f = ", c("2/3", ".2"))), lty = 1, col = 2:3)