umap (version 0.2.4.1)

find.ab.params: Estimate a/b parameters

Description

This performs a brute-force search in parameter space. The algorithm assumes a narrowing-down search will produce a decent fit.

Usage

find.ab.params(
  spread,
  min.dist,
  alim = c(0, 20),
  blim = c(0, 20),
  tolerance = 1e-08
)

Arguments

spread

numeric

min.dist

numeric

alim

numeric vector of length 2, initial search range for parameter a

blim

numeric vector of length 2, initial search range for parameter b

tolerance

numeric, determines how deeply to search

Value

vector with componets "a" and "b" that are most appropriate for the given spread and min.dist.