Learn R Programming

baizer (version 0.8.0)

seriate_df: 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)

Value

seriated dataframe

Arguments

x

dataframe

Examples

Run this code
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)

Run the code above in your browser using DataLab