10/11/2018 5:46:15 PM
Aaron Muthami1 Answer
New AnswerHow to create vector in R? Vectors are generally created using the c() function. For example: my_vector <- c(1,2,3,4,5) Instead of numbers from 1 to 5 you can insert your values into the funcion. If you want 100 values - numbers from 1 to 100: seq(1, 100, by=1) For further information, you can find other options in documentation of R language in section about vectors.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message