Created
May 6, 2014 11:45
-
-
Save VladimirSaz/11559589 to your computer and use it in GitHub Desktop.
vector operations in R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#initialize named vector | |
vect<-c("a param 1"=1,"a param 2"=2,"a named param 3"= 6) | |
#show vector names | |
names(vect) | |
#make vector unnamed | |
unname(vect) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment