Extract the first/last parts of an index as if it were a matrix.
Arguments
- x
A price index, as made by, e.g.,
elementary_index().- n
See
head()/tail(). The default takes the first/last 6 levels ofx.- ...
Not currently used.
See also
Other index methods:
[.piar_index(),
aggregate.piar_index,
as.data.frame.piar_index(),
as.ts.piar_index(),
chain(),
contrib(),
is.na.piar_index(),
levels.piar_index(),
mean.piar_index,
merge.piar_index(),
split.piar_index(),
stack.piar_index(),
time.piar_index(),
window.piar_index()
