The `y`

vector is averaged in bins defined for `x`

. Missing
values in `y`

are ignored.

binAverage(x, y, xmin, xmax, xinc)

x | a vector of numerical values. |
---|---|

y | a vector of numerical values. |

xmin | x value at the lower limit of first bin; the minimum |

xmax | x value at the upper limit of last bin; the maximum |

xinc | width of bins, in terms of x value; 1/10th of |

A list with two elements: `x`

, the mid-points of the bins, and
`y`

, the average `y`

value in the bins.

Other bin-related functions:
`binApply1D()`

,
`binApply2D()`

,
`binCount1D()`

,
`binCount2D()`

,
`binMean1D()`

,
`binMean2D()`