search_k: Search for the best 'k'

View source: R/reducers.R

search_kR Documentation

Search for the best k

Description

Search for the best k

Usage

search_k(.partition_step, search_method = c("binary", "linear"))

Arguments

.partition_step

a partition_step object

search_method

The search method. Binary search is generally more efficient but linear search can be faster in very low dimensions.

Value

a partition_step object


malcolmbarrett/partition2 documentation built on Nov. 12, 2024, 1:24 p.m.