nushell/docs/commands/math-variance.md
JT bff81f24aa
Autogenerate missing docs (#3514)
* Autogenerate missing docs

* Update ansi.md

* Rename question mark command docs

* Delete empty?.md
2021-05-30 12:57:04 +12:00

23 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
```