is.finite | R Documentation |
is.finite
and is.infinite
return a vector of the same length
as x
, indicating which elements are finite (not infinite and not
missing) or infinite.
## S4 method for signature 'fm' is.nan(x) ## S4 method for signature 'fmV' is.nan(x) ## S4 method for signature 'fm' is.infinite(x) ## S4 method for signature 'fmV' is.infinite(x) ## S4 method for signature 'fm' is.finite(x) ## S4 method for signature 'fmV' is.finite(x)
x |
a FlashR object |
A logical vector of the same length as x
mat <- fm.runif.matrix(100, 10) is.finite(mat) is.infinite(mat) is.nan(mat)