How to create a named vector object in the R programming language. More details: [ Ссылка ]
R code of this video:
my_values <- 1:5 # Create vector of values
my_values # Print vector of values
my_names <- letters[1:5] # Create vector of names
my_names # Print vector of names
my_vector <- setNames(my_values, my_names) # Create vector of values & names
my_vector # Print vector of values & names
Follow me on Social Media:
Facebook – Statistics Globe Page: [ Ссылка ]
Facebook – R Programming Group for Discussions & Questions: [ Ссылка ]
Facebook – Python Programming Group for Discussions & Questions: [ Ссылка ]
LinkedIn – Statistics Globe Page: [ Ссылка ]
LinkedIn – R Programming Group for Discussions & Questions: [ Ссылка ]
LinkedIn – Python Programming Group for Discussions & Questions: [ Ссылка ]
Twitter: [ Ссылка ]
Music by bensound.com
Ещё видео!