How to Create a Vector in R
Here are the three ways to create a vector in R: Using the c() function Using the : operator Using the assign() function Method 1: Using the c() function To create a vector in R, the easiest way is to use the “c()” function. The c() function combines its arguments. rv <- c(11, 46) print(rv) … Read more