seriate_df {baizer}R 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)


[Package baizer version 0.8.0 Index]