Skip to contents

GetCriticalPoints takes the estimated density values (via KDE) from a batch of samples of segment ratio differences (S_i - S_j), a critical point (min/max), and returns a list of the densities where the critical point is found.

If crit_point == 'max', then densities > 0 If crit_point == 'min', then densities < 0

Usage

GetCriticalPoints(batch_ratio_differences, crit_point)

Arguments

crit_point

A string. The critical point to look for: either 'max' or 'min'.

ratio_differences

A Data Frame. The estimated density values for the given sampled batch