[R] plot means ?

Sam Steingold sds at gnu.org
Mon Jul 11 21:18:23 CEST 2011


Hi,
I need this plot:
given: x,y - numerical vectors of length N
plot xi vs mean(yj such that |xj - xi|<epsilon)
(running mean?)
alternatively, discretize X as if for histogram plotting and plot mean y
over the center of the histogram group.

is there a simple way?

thanks!

-- 
Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031
http://thereligionofpeace.com http://camera.org http://jihadwatch.org
http://palestinefacts.org http://pmw.org.il http://ffii.org
Flying is not dangerous; crashing is.



More information about the R-help mailing list