mirror of
https://github.com/nushell/nushell.git
synced 2024-12-01 21:03:58 +01:00
24 lines
410 B
Markdown
24 lines
410 B
Markdown
|
# math variance
|
||
|
Finds the variance of a list of numbers or tables
|
||
|
|
||
|
## Usage
|
||
|
```shell
|
||
|
> math variance {flags}
|
||
|
```
|
||
|
|
||
|
## Flags
|
||
|
* -h, --help: Display this help message
|
||
|
* -s, --sample: calculate sample variance
|
||
|
|
||
|
## Examples
|
||
|
Get the variance of a list of numbers
|
||
|
```shell
|
||
|
> echo [1 2 3 4 5] | math variance
|
||
|
```
|
||
|
|
||
|
Get the sample variance of a list of numbers
|
||
|
```shell
|
||
|
> echo [1 2 3 4 5] | math variance -s
|
||
|
```
|
||
|
|