numeric | R Documentation |
Coerces or test objects of type "numeric"
. is.numeric
is a more general test of an object being interpretable as numbers.
## S4 method for signature 'fm' as.numeric(x) ## S4 method for signature 'fmV' as.numeric(x) ## S4 method for signature 'fm' is.numeric(x) ## S4 method for signature 'fmV' is.numeric(x)
x |
a FlashR object to be coerced or tested. |
as.numeric
returns a numeric FlashR object,
is.numeric
returns a logical value.
vec <- as.numeric(fm.runif(1000, min=0, max=10)) is.numeric(vec)