Anyone know an R function that will return the number of items in a list?
Thanks
Karl
Anyone know an R function that will return the number of items in a list?
Thanks
Karl
I spent ages trying to figure this out but it is simple! You can use length. length(mylist) will tell you the number of objects "mylist" contains.
... and just realised someone had already answered this- sorry!