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

indicator is written by a mad man! #101

Open
antongrau opened this issue Jan 16, 2020 · 1 comment
Open

indicator is written by a mad man! #101

antongrau opened this issue Jan 16, 2020 · 1 comment

Comments

@antongrau
Copy link
Member

lets just convert it to our friend xtabs!

@antongrau
Copy link
Member Author

We need to make a new class for indicator() that retains the variables as attributes. This is not easy since R drops all attributes when subsetting matrixes. see ?Extract
See this thread for a possible solution with a new class:
https://stackoverflow.com/questions/9486342/subset-drops-attributes-on-vectors-how-to-maintain-persist-them

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