I want to create a vector out of a row of a data frame. But I don\'t want to have to row and column names. I tried several things... but had no luck.
This is my data
Here is a dplyr based option:
dplyr
newV = df %>% slice(1) %>% unlist(use.names = FALSE) # or slightly different: newV = df %>% slice(1) %>% unlist() %>% unname()