lists in R
Hi, in this exercise I don't understand why for the task " extract the second list as a list" we use the code newList[[2]] and not newList[2].
1 answers ( 0 marked as helpful)
Hi both,
thanks for reaching out!
You're absolutely right, you can use the single brackets to extract the second list. Hope this helps!
Best,
365 Eli