# hexMA.loess

From hexbin v1.26.3
by ORPHANED

##### Add Loess Fit to Hexplot

Fit a loess line using the hexagon centers of mass as the x and y coordinates and the cell counts as weights.

- Keywords
- aplot

##### Usage

```
hexMA.loess(pMA, span = 0.4, col = "red", n = 200)
hexVP.loess(hbin, hvp = NULL, span = 0.4, col = "red", n = 200)
```

##### Arguments

##### Value

- Returns invisibly the object associated with the loess fit.

##### See Also

##### Examples

```
if(require(marray)){
data(swirl) hb <- plotMAhex(swirl[,1], main = "M vs A plot with hexagons", legend=0)
hexVP.abline(hb$plot, h=0, col= gray(.6))
hexMA.loess(hb)
}
```

*Documentation reproduced from package hexbin, version 1.26.3, License: GPL-2*

### Community examples

Looks like there are no examples yet.