Question
How to transfer dataframe `raw_df` to `list` row by row?
How to transfer data frame raw_df
to list
row by row? Desired output: wished_list
raw_df <- data.frame(cat=c('a','b','c'),value=c('high','mid','low'))
wished_list <- list(a='high',b='mid',c='low')
4 49
4