indexOfPercentile

internal fun <T : Comparable<T & Any>?> Sequence<T>.indexOfPercentile(percentile: Double, type: KType, skipNaN: Boolean): Int

Returns the index of the percentile in the unsorted sequence this. If !skipNaN and the sequence this contains NaN, the index of the first NaN will be returned. Returns -1 if the sequence is empty.