Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

what is a vector in r

#A vector is the simplest type of data structure in R.
#A vector as “a single entity consisting of a collection of things.” 
#A collection of numbers, for example, is a numeric vector.
c('a', 'b', 'c') #This is a character(string) vector.
Source by adv-r.had.co.nz #
 
PREVIOUS NEXT
Tagged: #vector
ADD COMMENT
Topic
Name
2+9 =