seriate_df: dataframe rows seriation, which will reorder the rows in a...

View source: R/dataframe.R

seriate_dfR Documentation

dataframe rows seriation, which will reorder the rows in a better pattern

Description

dataframe rows seriation, which will reorder the rows in a better pattern

Usage

seriate_df(x)

Arguments

x

dataframe

Value

seriated dataframe

Examples

x <- mini_diamond %>%
  dplyr::select(id, dplyr::where(is.numeric)) %>%
  dplyr::mutate(
    dplyr::across(
      dplyr::where(is.numeric),
      ~ round(.x / max(.x), 4)
    )
  ) %>%
  c2r("id")

seriate_df(x)


baizer documentation built on Oct. 19, 2023, 9:07 a.m.