Expand the time dimension of an ic dataset to include the full set of potential observations.

ic_expand(X, min = 1999, max, na.remove = TRUE)

Arguments

X

Object of class ic.df to expand.

min

Start of the potential time period. Default is 1999.

max

End of the potential time period.

na.remove

Should country-vaccine combinations which have no coverage data be removed? Default is TRUE

Value

An object of type ic.df which has additional rows of NA values added to expand the dataset to min and max time points.

Details

If max is missing, the maximum time value observed in the dataset will be used.