A symbolic vector is represented by VecBasic
S4 class.
Vector
and V
are constructors of VecBasic
.
Vector(x, ...)
V(...)
R objects.
A VecBasic
.
There are some differences between Vector
and V
.
For double values, V
will check whether they are
whole number, and convert them to integer if so.
Vector
will not.
V
does not accept "non-scalar" arguments,
like Vector(c(1,2,3))
.