Membuat, memaksa, atau menguji vektor presisi ganda.
double(length = 0)
as.double(x, …)
is.double(x)<p></p><p>single(length = 0)
as.single(x, …)</p>
| Parameter | Deskripsi |
|---|---|
length |
A non-negative integer specifying the desired length. Double values will be coerced to integer: supplying an argument of length other than one is an error. |
x |
object to be coerced or tested. |
… |
further arguments passed to or from other methods. |
# NOT RUN {
is.double(1)
all(double(3) == 0)
# }