tDigestCdf method
TDIGEST.CDF key value value ...
Returns the fraction of all points added which are <= value.
Implementation
Future<List<double>> tDigestCdf(
String key,
List<double> values, {
bool forceRun = false,
}) async {
await checkValkeySupport('TDIGEST.CDF', forceRun: forceRun);
final result = await execute(['TDIGEST.CDF', key, ...values]);
if (result is List) {
return result.map((e) => double.parse(e.toString())).toList();
}
return [];
}