[R] how to sample lowess/loess into matrix ?

2010-11-22 Thread madr
code: x - rnorm(32) y - rnorm(32) plot(x,y) lines(lowess(x,y),col='red') Now I need to sample the lowess function into matrix where one series will be X and other will be values of lowess at particular X. -- View this message in context:

Re: [R] how to sample lowess/loess into matrix ?

2010-11-22 Thread madr
I found it, it was SO simple: lowessline - lowess(x,y) write.csv(lowessline, loess.csv) -- View this message in context: http://r.789695.n4.nabble.com/how-to-sample-lowess-loess-into-matrix-tp3053458p3053601.html Sent from the R help mailing list archive at Nabble.com.