Last answered:

10 Dec 2020

Posted on:

16 Jul 2020

0

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)
Instructor
Posted on:

10 Dec 2020

0
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

Submit an answer