Skip to content

Option to return as an ordered factor? #57

@DarwinAwardWinner

Description

@DarwinAwardWinner

Converting to ordinal is nice, but if I want to use the result to e.g. label a plot, I need to convert the resulting character vector into an ordered factor, which is not trivial if things are not already in order. It would be nice if there was an option to return an ordered factor, or perhaps it could just return a character vector with an extra class attached with S3 methods for converting to factor/ordered that do the right thing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions