round_any | R Documentation |
Round to multiple of any number.
round_any(x, accuracy, f = round)
x |
numeric or date-time (POSIXct) vector to round |
accuracy |
number to round to; for POSIXct objects, a number of seconds |
f |
rounding function: floor, ceiling or round |
This function and the documentation are taken from the ‘plyr’ package. The function is defined separately in prettyGraphics
to reduce reliance on non-default packages.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.