I've start improving some old R code and find that next functions are deprecated:
real
creates a double precision vector of the specified length. Each element of the vector is equal to 0.as.real
attempts to coerce its argument to be of double type.is.real
returns TRUE or FALSE depending on whether its argument is of double type or not. And what to use instead?
Wow, that's pretty old code. I think you'll be fine with double
, as.double
, and is.double
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With