New .na_last argument to control position of NAs. Fixes #266.
@DavisVaughan what do you think of this API? It's a bit unusual to default to na.rm = TRUE, but you can't see the result of the computation and including NAs is never useful, so adopting ggplot2's approach makes sense to me. Once you've reviewed this API, I'll also apply it to fct_reorder2().
.x
by default. Fixes #315..na_last
argument to control position of NAs. Fixes #266.@DavisVaughan what do you think of this API? It's a bit unusual to default to
na.rm = TRUE
, but you can't see the result of the computation and includingNA
s is never useful, so adopting ggplot2's approach makes sense to me. Once you've reviewed this API, I'll also apply it tofct_reorder2()
.