sandoval31 - 8 months ago 75

R Question

I suppose this is trivial, but I can't find how to declare a vector of zeros in R.

For example, in Matlab, I would write:

`X = zeros(1,3);`

Source (Stackoverflow)