R/measures.R

Defines functions make_measure_info

make_measure_info = function(
  fun,
  label,
  lower,
  upper,
  minimize,
  predict_type = "partition",
  input = "dist",
  requires_k2 = TRUE
) {
  list(
    fun = fun,
    label = label,
    lower = lower,
    upper = upper,
    minimize = minimize,
    predict_type = predict_type,
    input = input,
    requires_k2 = requires_k2
  )
}
measures = new.env(parent = emptyenv())

Try the mlr3cluster package in your browser

Any scripts or data that you put into this service are public.

mlr3cluster documentation built on Sept. 17, 2026, 5:09 p.m.