Skip to content

Speeding up vector sorting #1

@mikemeredith

Description

@mikemeredith

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions