Answers for "r name vector elements"

R
1

name elements in vector r

x = c(1, 3, 5)
names(x) = c("a", "b", "c")
Posted by: Guest on September-21-2021

Code answers related to "r name vector elements"

Browse Popular Code Answers by Language