# Rearranging Data

## Documentation for package ‘rearrr’ version 0.3.5

- DESCRIPTION file.
- Package NEWS.

## Help Pages

angle | Calculate the angle to an origin
apply_transformation_matrix | Apply transformation matrix to a set of columns
center_max | Centers the highest value with values decreasing around it
center_min | Centers the lowest value with values increasing around it
centroid | Find the coordinates for the centroid
circularize | Create x-coordinates so the points form a circle
closest_to | Orders values by shortest distance to an origin
closest_to_vec | Orders values by shortest distance to an origin
cluster_groups | Move data points into clusters
create_dimming_fn | Create dimming_fn function
create_n_fn | Create n_fn function
create_origin_fn | Create origin_fn function
degrees_to_radians | Conversion between radians and degrees
dim_values | Dim values of a dimension based on the distance to an n-dimensional origin
distance | Calculate the distance to an origin
expand_distances | Expand the distances to an origin
expand_distances_each | Expand the distances to an origin in each dimension
farthest_from | Orders values by longest distance to an origin
FixedGroupsPipeline | Chain multiple transformations with different argument values per group
FixedGroupsTransformation | FixedGroupsTransformation
flip_values | Flip the values around an origin
flip_values_vec | Flip the values around an origin
furthest_from | Orders values by longest distance to an origin
furthest_from_vec | Orders values by longest distance to an origin
GeneratedPipeline | Chain multiple transformations and generate argument values per group
GeneratedTransformation | GeneratedTransformation
generate_clusters | Generate n-dimensional clusters
hexagonalize | Create x-coordinates so the points form a hexagon
is_most_centered | Find which data point is closest to the centroid
median_index | Find index of interest for each vector
midrange | Find the midrange values
min_max_scale | Scale to a range
most_centered | Find the coordinates for the data point closest to the centroid
pair_extremes | Pair extreme values and sort by the pairs
pair_extremes_vec | Pair extreme values and sort by the pairs
Pipeline | Chain multiple transformations
position_max | Positions the highest values with values decreasing around it
position_min | Positions the lowest value with values increasing around it
quantile_index | Find index of interest for each vector
radians_to_degrees | Conversion between radians and degrees
rev_windows | Reverse order window-wise
rev_windows_vec | Reverse order window-wise
roll_elements | Roll elements
roll_elements_vec | Roll elements
roll_values | Shift values and wrap to range
roll_values_vec | Shift values and wrap to range
rotate_2d | Rotate the values around an origin in 2 dimensions
rotate_3d | Rotate the values around an origin in 3 dimensions
shear_2d | Shear the values around an origin in 2 dimensions
shear_3d | Shear values around an origin in 3 dimensions
shuffle_hierarchy | Shuffle multi-column hierarchy of groups
square | Create x-coordinates so the points form a square
swirl_2d | Swirl the values around an origin in 2 dimensions
swirl_3d | Swirl the values around an origin in 3 dimensions
to_unit_length | Scale to unit length
to_unit_length_vec | Scale to unit length
transfer_centroids | Transfer centroids from one data frame to another
Transformation | Transformation
triangularize | Create x-coordinates so the points form a triangle
triplet_extremes | Makes triplets of extreme values and sort by them
triplet_extremes_vec | Makes triplets of extreme values and sort by them
vector_length | Calculate vector length(s)
wrap_to_range | Shift values and wrap to range
wrap_to_range_vec | Shift values and wrap to range