Skip to contents

install.packages("Ckmeans.1d.dp") select k-cluster mean that is closest to the mean of your first and last rows without outliers

Usage

k_clustering(
  control_column,
  lim,
  type = c("negative", "positive"),
  na.rm = TRUE
)