heat_hist | R Documentation |

A grouped histogram plot.

```
heat_hist(x, ID, weights = 1, breaks = 50)
```

`x` |
A numeric vector to be plotted as histograms. |

`ID` |
A character or factor vector to be used as a grouping variable. |

`weights` |
A numeric vector giving the weights. |

`breaks` |
How many breaks to use. |

```
data(madagascar_malaria)
heat_hist(madagascar_malaria$EVI, madagascar_malaria$ID)
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.