Skip to content
@addmaple/stats
Search
K
Main Navigation
Guide
API Reference
Examples
GitHub
Appearance
Menu
Return to top
On this page
percentileOfScore
Calculate the percentile rank of a score.
Try it out
Try it out
Run
import { init, percentileOfScore } from '@addmaple/stats'; await init(); const data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; const result = percentileOfScore(data, 7); result;
Initializing library...