Answers for "array in r"

1

array in r

#This is a vector in r with [1,2,3,4,5] stored in it
#You can access indexes with brackets

>x <- c(1,2,3,4,5)
>x[1]
1
Posted by: Guest on May-02-2022

Browse Popular Code Answers by Language