RoundTo | R Documentation |
Returns a number rounded to the nearest specified multiple.
RoundTo(x, multiple = 1, FUN = round)
x |
is a vector of value in decibel (dB) |
multiple |
numeric. The multiple to which the number is to be rounded. Default is 1. |
FUN |
the rounding function as character or as expression. Can be one out of trunc, ceiling, round (default) or floor. |
value or vector of values rounded
Andri Signorell andri@signorell.net
#data("P1FA")
RoundTo(x = P1FA$LAeq, multiple = 0.5)[1:10]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.