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