Let's say I have an existing list called myList.
myList <- list(list1=c("item1", "item2"), list2=c("item3", "item4"))
myList thus contains:
$list1
[1] "item1" "item2"
$list2
[1] "item3" "item4"
I want to append .t0 to each element of list1 and list2 within myList so I end up with:
$list1
[1] "item1.t0" "item2.t0"
$list2
[1] "item3.t0" "item4.t0"
I do not want to go back to the list(list1=c("item1", "item2"), list2=c("item3", "item4")) step and add .t0 there. I want to manipulate myList to add .t0.