Skip to content

Commit 9669982

Browse files
committed
style: resolve lint error
1 parent 4059e11 commit 9669982

File tree

1 file changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/studentized-range

1 file changed

+4
-4
lines changed

lib/node_modules/@stdlib/stats/base/dists/studentized-range/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,19 +70,19 @@ var tukey = require( '@stdlib/stats/base/dists/studentized-range' );
7070
/*
7171
* Let's consider an example where we are analyzing the test scores of students in a class.
7272
* We're interested in using the Studentized Range Distribution to analyze the range of scores.
73-
* The distribution has parameters: r (number of means), v (degrees of freedom), and nranges (number of ranges).
73+
* The distribution has parameters: r (number of means), v (degrees of freedom), and n (number of ranges).
7474
*/
7575

7676
var r = 5.0;
7777
var v = 20.0;
78-
var nranges = 3.0;
78+
var n = 3.0;
7979

8080
// CDF can be used to calculate the cumulative distribution function at a specific value:
81-
var out = tukey.cdf( 2.0, r, v, nranges );
81+
var out = tukey.cdf( 2.0, r, v, n );
8282
// returns ~0.074
8383

8484
// Quantile can also be used to calculate the quantile function at a specific probability:
85-
out = tukey.quantile( 0.9, r, v, nranges );
85+
out = tukey.quantile( 0.9, r, v, n );
8686
// returns ~4.433
8787
```
8888

0 commit comments

Comments
 (0)