Technically, this is not true. `1:6` is an *integer* vector which `as.numeric()` will coerce to a *double*

```
R> x <- 0:6
R> identical(x, as.numeric(x))
[1] FALSE
R> typeof(x)
[1] "integer"
R> typeof(as.numeric(x))
[1] "double"
```