Answers for "sample from vector r"

R
1

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.
Posted by: Guest on September-21-2021

Browse Popular Code Answers by Language