| real {base} | R Documentation |
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.
real(length = 0) as.real(x, ...) is.real(x)
length |
desired length. |
x |
object to be coerced or tested. |
... |
further arguments passed to or from other methods. |
R has no single precision data type.
All real numbers are stored in double precision format.
These functions are the same as their double equivalents.