indexBytes {rindex} | R Documentation |
Some functions giving information about indices
indexNodes(obj) indexBytes(obj) ## S3 method for class 'index': print(x, tree = FALSE, ...) ## S3 method for class 'index': str(object, ...) ## S3 method for class 'index': length(x)
x |
an object of class ‘index’ |
obj |
an object of class ‘index’ |
object |
an object of class ‘index’ |
tree |
TRUE to print the tree (default FALSE) |
... |
ignored or passed |
indexNodes | returns number of tree nodes |
indexBytes | returns indes size in bytes |
print.index | prints index info and optionally tree |
str.index | removes class and calls NextMethod("str") |
length.index | identical to length of original vector |
names.index | currently forbidden |
names<-.index | currently forbidden |
Functions indexNodes
, indexBytes
and length.index
return an integer (number of nodes, number of bytes, length of vector).
There are dummy functions names.index
, names<-.index
and [<-.index
that catch non-supported use of these generics on index objects.
Jens Oehlschlägel