is_index {piar} | R Documentation |
Test if an object is a price index
Description
Test if an object is a index object, or a subclass of an index object.
Usage
is_index(x)
is_aggregate_index(x)
is_chainable_index(x)
is_direct_index(x)
Arguments
x |
An object to test. |
Value
is_index()
returns TRUE
if x
inherits from piar_index
.
is_chainable_index()
returns TRUE
if x
inherits from
chainable_piar_index
.
is_direct_index()
returns TRUE
if x
inherits from
direct_piar_index
.
is_aggregate_index()
returns TRUE
if x
inherits from
aggregate_piar_index
.
[Package piar version 0.7.0 Index]