r make vector zero mean code example Example: create a vector of zeros in r integer(3) numeric(3) rep(0, 3) rep(0L, 3)