remove Infinite values

rmInfinite(x, infiniteValue = NULL, ...)

Arguments

x

vector input

infiniteValue

NULL to remove Infinite values, or a replacement value

...

additional parameters are ignored

Value

numeric vector with infinite values either removed, or replaced with the supplied value.

Details

This function removes any positive or negative infinite numerical values, optionally replacing them with a given value or NA.