[R] Rounding to the nearest 5

Chris Li
Tue, 15 Sep 2009 23:15:49 -0000

Hi all,

I want to round my values to the nearest 5.

For example, if I have a value of 11, I want R to round it to 10.

I have been searching for this command on the web and in the help file, but
I couldn't find anything useful.

Any help would be greatly appreciated.

Many thanks,
Chris
--
View this message in context:
http://www.nabble.com/Rounding-to-the-nearest-5-tp25463367p25463367.html
Sent from the R help mailing list archive at Nabble.com.

	[[alternative HTML version deleted]]