What is an efficient way to turn a list of elements into a list of lists with only one element in each list. See example data below:
#This vector (but with many more elements) I'd like to turn into a list of list with one element in each.
vector <- c("element1", "element2", "element3")
# It should look like this:
list_vector <- list("element1", "element2", "element3")
#This is old: and not really how I want it:
list_vector <- list(list("element1"), list("element1"), list("element1"))
Thanks in advance