lim | R Documentation |
Limits the values of a vector or array to a desired interval, while keeping the shape of the input argument
lim(x, min = 0, max = 1, clip = NULL, na = NULL)
x |
vector or array |
min |
minimum value |
max |
maximum value |
clip |
optional value specifying the value assigned to clipped data, e.g. |
na |
optional value specifying the value assigned to non-numbers (NA and NaN) |
vector/array of the same shape as x
Danail Obreschkow
stretch
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.