Learn R Programming

rindex (version 0.12.1)

indexBytes: Index information

Description

Some functions giving information about indices

Usage

indexNodes(obj)
indexBytes(obj)
# S3 method for index
print(x, tree = FALSE, ...)
# S3 method for index
str(object, ...)
# S3 method for index
length(x)

Arguments

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

Value

Functions indexNodes, indexBytes and length.index return an integer (number of nodes, number of bytes, length of vector).

Details

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

See Also

index, length, object.size