Skip to content
/ gost Public

A CLI command to simply compute statistics.

Notifications You must be signed in to change notification settings

ch1aki/gost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gost

Build Status

A CLI command to simply compute statistics.

Installing

brew tap ch1aki/homebrew-gost
brew install ch1aki/gost/gost

or

$ go get -u github.com/ch1aki/gost

Usage

Usage:
  gost [OPTIONS]

Application Options:
  -v, --version   show version
  -f, --format=   outpuut format (default: %g)
  -N, --count     sample size
      --min       minimum
      --max       maximum
      --sum       sum of elements of the sample
  -m, --mean      mean
      --sd        standard deviation
      --variance  variance
      --markdown  markdown table format

Help Options:
  -h, --help      Show this help message
$ seq 1 100 | gost
N       MIN     MAX     SUM     MEAN    STDDEV             
100     1       100     5050    50.5    29.011491975882016

$ seq 1 100 | gost --markdown
|  N  | MIN | MAX | SUM  | MEAN |       STDDEV       |
|-----|-----|-----|------|------|--------------------|
| 100 |   1 | 100 | 5050 | 50.5 | 29.011491975882016 |

Authors

ch1aki

License

Licensed under the MIT License.

About

A CLI command to simply compute statistics.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages