Quantiles returns the given quantile(s) of non-Null, non-NaN elements in given IndexView indexed view of an table.Table, for given column name. If name not found, nil is returned -- use Try version for error message. Column must be a 1d Column -- returns nil for n-dimensional columns. qs are 0-1 val
(ix *table.IndexView, column string, qs []float64)
| 64 | // Because this requires a sort, it is more efficient to get as many quantiles |
| 65 | // as needed in one pass. |
| 66 | func Quantiles(ix *table.IndexView, column string, qs []float64) []float64 { |
| 67 | colIndex := ix.Table.ColumnIndex(column) |
| 68 | if colIndex == -1 { |
| 69 | return nil |
| 70 | } |
| 71 | return QuantilesIndex(ix, colIndex, qs) |
| 72 | } |
nothing calls this directly
no test coverage detected