length method for GComponent's

Description

This definition has some sideeffects. Namely, if one uses sapply and returns such objects, then the call to simplify2array will cause an error. Use lapply, or simplify=FALSE.

Usage

1
2
## S3 method for class 'GComponent'
length(x, ...)

Arguments

x

object

...

passed along to len method

Value

length of object, loosely interpreted

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.