Skip to content

Commit 4974c82

Browse files
fixup! feat: feat (stats/incr/nanwmean): adds nanwmean package to the stats/incr/* namespace
This commit adds minor changes to the README.md of the nanwmean package, to improve clarity and fix a mistake in the usage section where a different package was used. Author: Don Roy Chacko <[email protected]> Reviewed-by: hrshya Co-authored-by: Harsh <[email protected]> Signed-off-by: Don Roy Chacko <[email protected]>
1 parent 155daca commit 4974c82

File tree

1 file changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/stats/incr/nanwmean

1 file changed

+4
-4
lines changed

lib/node_modules/@stdlib/stats/incr/nanwmean/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
# incrnanwmean
2222

23-
> Compute a [weighted arithmetic mean][weighted-arithmetic-mean] incrementally, while ignoring `NaN` values.
23+
> Compute a [weighted arithmetic mean][weighted-arithmetic-mean] incrementally, ignoring `NaN` values.
2424
2525
<section class="intro">
2626

@@ -48,15 +48,15 @@ The [weighted arithmetic mean][weighted-arithmetic-mean] is defined as
4848
## Usage
4949

5050
```javascript
51-
var incrnanwmean = require( '@stdlib/stats/incr/wmean' );
51+
var incrnanwmean = require( '@stdlib/stats/incr/nanwmean' );
5252
```
5353

5454
#### incrnanwmean()
5555

56-
Returns an accumulator `function` which incrementally computes a [weighted arithmetic mean][weighted-arithmetic-mean], while ignoring NaN values.
56+
Returns an accumulator `function` which incrementally computes a [weighted arithmetic mean][weighted-arithmetic-mean], ignoring NaN values.
5757

5858
```javascript
59-
var accumulator = incrwmean();
59+
var accumulator = incrnanwmean();
6060
```
6161

6262
#### accumulator( \[x, w] )

0 commit comments

Comments
 (0)