Package: rearrr 0.3.4.9000

Ludvig Renbo Olsen

rearrr: Rearranging Data

Arrange data by a set of methods. Use rearrangers to reorder data points and mutators to change their values. From basic utilities, to centering the greatest value, to swirling in 3-dimensional space, 'rearrr' enables creativity when plotting and experimenting with data.

Authors:Ludvig Renbo Olsen [aut, cre]

rearrr_0.3.4.9000.tar.gz
rearrr_0.3.4.9000.zip(r-4.5)rearrr_0.3.4.9000.zip(r-4.4)rearrr_0.3.4.9000.zip(r-4.3)
rearrr_0.3.4.9000.tgz(r-4.4-any)rearrr_0.3.4.9000.tgz(r-4.3-any)
rearrr_0.3.4.9000.tar.gz(r-4.5-noble)rearrr_0.3.4.9000.tar.gz(r-4.4-noble)
rearrr_0.3.4.9000.tgz(r-4.4-emscripten)rearrr_0.3.4.9000.tgz(r-4.3-emscripten)
rearrr.pdf |rearrr.html
rearrr/json (API)
NEWS

# Install 'rearrr' in R:
install.packages('rearrr', repos = c('https://ludvigolsen.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ludvigolsen/rearrr/issues

On CRAN:

arrangeclusterexpandforminggenerateggplot2orderplotting-in-rrollrotateshapingswirltransformations

7.09 score 24 stars 7 packages 128 scripts 1.9k downloads 63 exports 21 dependencies

Last updated 3 months agofrom:7dac8ee453. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 07 2024
R-4.5-winOKNov 07 2024
R-4.5-linuxOKNov 07 2024
R-4.4-winOKNov 07 2024
R-4.4-macOKNov 07 2024
R-4.3-winOKNov 07 2024
R-4.3-macOKNov 07 2024

Exports:angleapply_transformation_matrixcenter_maxcenter_mincentroidcircularizeclosest_toclosest_to_veccluster_groupscreate_dimming_fncreate_n_fncreate_origin_fndegrees_to_radiansdim_valuesdistanceexpand_distancesexpand_distances_eachFixedGroupsPipelineFixedGroupsTransformationflip_valuesflip_values_vecfurthest_fromfurthest_from_vecgenerate_clustersGeneratedPipelineGeneratedTransformationhexagonalizeis_most_centeredmedian_indexmidrangemin_max_scalemost_centeredpair_extremespair_extremes_vecPipelineposition_maxposition_minquantile_indexradians_to_degreesrev_windowsrev_windows_vecroll_elementsroll_elements_vecroll_valuesroll_values_vecrotate_2drotate_3dshear_2dshear_3dshuffle_hierarchysquareswirl_2dswirl_3dto_unit_lengthto_unit_length_vectransfer_centroidsTransformationtriangularizetriplet_extremestriplet_extremes_vecvector_lengthwrap_to_rangewrap_to_range_vec

Dependencies:backportscheckmateclidplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigplyrpurrrR6Rcpprlangtibbletidyselectutf8vctrswithr

Readme and manuals

Help Manual

Help pageTopics
Calculate the angle to an originangle
Apply transformation matrix to a set of columnsapply_transformation_matrix
Centers the highest value with values decreasing around itcenter_max
Centers the lowest value with values increasing around itcenter_min
Find the coordinates for the centroidcentroid
Create x-coordinates so the points form a circlecircularize
Orders values by shortest distance to an originclosest_to closest_to_vec
Move data points into clusterscluster_groups
Create dimming_fn functioncreate_dimming_fn
Create n_fn functioncreate_n_fn
Create origin_fn functioncreate_origin_fn
Conversion between radians and degreesdegrees_to_radians radians_to_degrees
Dim values of a dimension based on the distance to an n-dimensional origindim_values
Calculate the distance to an origindistance
Expand the distances to an originexpand_distances
Expand the distances to an origin in each dimensionexpand_distances_each
Chain multiple transformations with different argument values per groupFixedGroupsPipeline
FixedGroupsTransformationFixedGroupsTransformation
Flip the values around an originflip_values flip_values_vec
Orders values by longest distance to an originfarthest_from furthest_from furthest_from_vec
Generate n-dimensional clustersgenerate_clusters
Chain multiple transformations and generate argument values per groupGeneratedPipeline
GeneratedTransformationGeneratedTransformation
Create x-coordinates so the points form a hexagonhexagonalize
Find which data point is closest to the centroidis_most_centered
Find index of interest for each vectormedian_index quantile_index
Find the midrange valuesmidrange
Scale to a rangemin_max_scale
Find the coordinates for the data point closest to the centroidmost_centered
Pair extreme values and sort by the pairspair_extremes pair_extremes_vec
Chain multiple transformationsPipeline
Positions the highest values with values decreasing around itposition_max
Positions the lowest value with values increasing around itposition_min
Reverse order window-wiserev_windows rev_windows_vec
Roll elementsroll_elements roll_elements_vec
Shift values and wrap to rangeroll_values roll_values_vec wrap_to_range wrap_to_range_vec
Rotate the values around an origin in 2 dimensionsrotate_2d
Rotate the values around an origin in 3 dimensionsrotate_3d
Shear the values around an origin in 2 dimensionsshear_2d
Shear values around an origin in 3 dimensionsshear_3d
Shuffle multi-column hierarchy of groupsshuffle_hierarchy
Create x-coordinates so the points form a squaresquare
Swirl the values around an origin in 2 dimensionsswirl_2d
Swirl the values around an origin in 3 dimensionsswirl_3d
Scale to unit lengthto_unit_length to_unit_length_vec
Transfer centroids from one data frame to anothertransfer_centroids
TransformationTransformation
Create x-coordinates so the points form a triangletriangularize
Makes triplets of extreme values and sort by themtriplet_extremes triplet_extremes_vec
Calculate vector length(s)vector_length