Wrapper for running positioning rearrange methods
positioning_rearranger_(
data,
col = NULL,
position = NULL,
shuffle_sides = FALSE,
what = "max"
)
Sorted data.frame
(tibble
) / vector
.
data.frame
or vector
.
Column to create sorting factor by.
When `NULL`
and `data`
is a data.frame
,
the row numbers are used.
Index or quantile (in 0-1
) at which to position the element of interest.
Whether to shuffle which elements are left and right of the position. (Logical)
What to position. "max"
or "min"
. (Character)