package
0.0.0-20170323211221-abd1f791f5ee
Repository: https://github.com/aclements/go-gg.git
Documentation: pkg.go.dev

# Functions

Agg constructs an Aggregate transform from a grouping column and a set of Aggregators.
AggCount returns an aggregate function that computes the number of rows in each group.
AggGeoMean returns an aggregate function that computes the geometric mean of each of cols.
AggMax returns an aggregate function that computes the maximum of each of cols.
AggMean returns an aggregate function that computes the mean of each of cols.
AggMin returns an aggregate function that computes the minimum of each of cols.
AggQuantile returns an aggregate function that computes a quantile of each of cols.
AggSum returns an aggregate function that computes the sum of each of cols.
AggUnique returns an aggregate function retains the unique value of each of cols within each aggregate group, or panics if some group contains more than one value for one of these columns.

# Structs

Aggregate computes aggregate functions of a table grouped by distinct values of a column or set of columns.
XXX If this is just based on the number of bins, it can come up with really ugly boundary numbers.
Density constructs a probability density estimate from a set of samples using kernel density estimation.
DomainData is a FunctionDomainer that computes domains based on the bounds of the data.
DomainFixed is a FunctionDomainer that returns a fixed domain.
ECDF constructs an empirical CDF from a set of samples.
Function samples a continuous univariate function at N points in the domain computed by Domain.
LeastSquares constructs a least squares polynomial regression for the data (X, Y).
LOESS constructs a locally-weighted least squares polynomial regression for the data (X, Y).
Normalize normalizes each group such that some data point is 1.

# Interfaces

A FunctionDomainer computes the domain over which to evaluate a statistical function.

# Type aliases

An Aggregator is a function that aggregates each group of input into one row and adds it to output.