Identify missing values in a price index.
Arguments
- x
A price index, as made by, e.g.,
elemental_index()
.- recursive
Check if
x
also has missing percent-change contributions. By default only index values are checked for missingness.
Value
is.na()
returns a logical matrix, with a row for each level of x
and a
columns for each time period, that indicates which index values are missing.
anyNA()
returns TRUE
if any index values are missing, or percent-change
contributions (if recursive = TRUE
).
See also
Other index methods:
[.piar_index()
,
aggregate.piar_index
,
as.data.frame.piar_index()
,
chain()
,
contrib()
,
head.piar_index()
,
levels.piar_index()
,
mean.piar_index
,
merge.piar_index()
,
split.piar_index()
,
stack.piar_index()
,
time.piar_index()
,
window.piar_index()