Jonas Stein wrote:
> Hi,
> 
> i have some data, that has 1-5 % noise. 
> I want to smooth this data without loosing rows.
> 
> rollmean() would be great, but it returns a vector of different size as the
> initial vector.

  You might consider one of the smoothers in smooth() from the stats
package.

?smooth

-- 
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to