Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to work on a single level hierarchy? #56

Open
mauriciolila opened this issue May 9, 2020 · 0 comments
Open

How to work on a single level hierarchy? #56

mauriciolila opened this issue May 9, 2020 · 0 comments

Comments

@mauriciolila
Copy link

I was wondering how I could specify a one-level hierarchy, for instance, a single State divided in Cities( 7 digits id ).
I was trying to pass the city argument as "characters=c(7)" and unfortunately I am getting the following outcome

data.hts<-hts(data.ts, bnames = colnames(data.ts),characters=c(7))
Error in substr(unique.str[[x]], start = 1L, stop = end[x - 1L]) :
invalid substring arguments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant