I am working with the hts package in R - I have several groups of hierarchical forecasts which I need to reconcile. However, I am working with a non-standard forecasting model, so am unable to estimate the model/forecast using the in-built functions in this package. As a result, I am unsure how to implement this in R - I have forecasts for each of my nodes and the aggregations but I don't know how to input this (or if it's even possible).
I have managed to convert my forecasts into a ts matrix, but several of the columns are aggregates. As a result, I don't know how to convert this into a gts matrix, as the grouping input doesn't seem to have an option for this.
My current forecasts look something like this and I would like to be able to reconcile them using MinT:
forecasts <- rbind(c(1,1,1,1,2,3,3,4,6),c(1,1,2,1,3,4,3,2,7),c(0,1,0,1,3,2,2,3,6))
rownames(forecasts) <- c("2010","2011","2012")
colnames(forecasts) <- c("uk_internal","eu_internal","uk_external","eu_external","uk_total","eu_total","total_external","total_internal","total_total")
ts(forecasts)