a vector, data frame, or array-like 'x' but with duplicate
elements/rows removed.
Arguments
x
a vector or a data frame or an array or NULL.
na.last
an argument to be passed onto the 'sort' function
(in base R) for controlling the treatment of NA values.
If na.last = TRUE, NA values in the data are put last;
if na.last = FALSE, NA values are put first;
if na.last = NA, NA values are removed.
By default, na.last = TRUE
decreasing
logical. Should the sort be increasing or decreasing?
An argument to be passed onto the 'sort' function (in base R).
By default, decreasing = FALSE