In the help for Extremes ?min
> Note that all versions fail for raw and complex vectors since these have no
> ordering.
This makes sense for complex vectors, yet `raw` vectors seem to have a
natural order. Indeed:
which.min(as.raw(c(5L, 2L, 1L, 99L)))
works and would identify the minimum. Si
On 08/02/2021 13:25, Hugh Parsonage wrote:
In the help for Extremes ?min
Note that all versions fail for raw and complex vectors since these have no
ordering.
This makes sense for complex vectors, yet `raw` vectors seem to have a
natural order. Indeed:
which.min(as.raw(c(5L, 2L, 1L, 99L)))