powered by
Gets the length of the object as its list version.
# S3 method for Bag length(x, ...)
Returns length of the object.
For more information see Bag.
Bag
# NOT RUN { b <- Bag(a=1,b=2,c=3) length(b) # }
Run the code above in your browser using DataLab