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

Speeding up vector sorting #1

Open
mikemeredith opened this issue Feb 24, 2016 · 0 comments
Open

Speeding up vector sorting #1

mikemeredith opened this issue Feb 24, 2016 · 0 comments

Comments

@mikemeredith
Copy link
Owner

For long vectors the hdi.vector method is slow, because it sorts the values. Ways to speed up or avoid sorting would be good.

The matrixStats package has a fast function to get ranks, and it might be possible to use that, maybe just extracting and ordering the lowest and highest 5% of values (for a 95% HDI).

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