View source: R/misc.utilities.R
| deInf | R Documentation |
Truncate values of high magnitude in a vector.
deInf(x, replace = 1/.Machine$double.eps)
x |
a numeric or integer vector. |
replace |
a number or a string |
Returns x with elements whose magnitudes exceed replace
replaced replaced by replace (or its negation). If replace is
"maxint" or "intmax", .Machine$integer.max is used instead.
NA and NAN values are preserved.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.