| rearranger_ | R Documentation | 
Wrapper for running rearranging methods
rearranger_(
  data,
  rearrange_fn,
  check_fn,
  cols = NULL,
  allowed_types = c("numeric", "factor", "character"),
  col = deprecated(),
  overwrite = FALSE,
  origin_fn = NULL,
  ...
)
| data | 
 | 
| rearrange_fn | Rearrange function to apply. | 
| check_fn | Function with checks post-preparation of  | 
| cols | Column(s) to create sorting factor by.
When  | 
| allowed_types | Allowed types of the  | 
| col | Column to create sorting factor by.
When  | 
| overwrite | Whether to allow overwriting of existing columns. (Logical) | 
| origin_fn | Function for finding the origin coordinates. Input: Each column will be passed as a  Output: A  Can be created with  E.g.  Built-in functions are  | 
| ... | Named arguments for the  | 
The sorted data.frame (tibble) / vector.
Optionally with (a) sorting factor(s) added.
When `data` is a vector and
no extra factors are returned by `rearrange_fn`,
the output will be a vector. Otherwise, a data.frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.