Length method for hyper2 objects, being the number of different brackets in the expression

# S3 method for class 'hyper2'
length(x)

Arguments

x

hyper2 object

Author

Robin K. S. Hankin

Examples


data("oneill")
#> Warning: data set ‘oneill’ not found
length(icons)
#> [1] 15
seq_along(icons)
#>  [1]  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15