seriate_df {baizer} | R Documentation |
dataframe rows seriation, which will reorder the rows in a better pattern
seriate_df(x)
x |
dataframe |
seriated dataframe
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)