Reputation: 192
I have a list 'T_1'
, where each element is a list of numbers.
I can get the length
of the first element by
length(T_1[[1]])
as I understood.
Is it possible to create a new list of lengths of all elements from T_1 without a for loop? And if not how to do it with a for loop?
Upvotes: 0
Views: 62