View source: R/group_summary_plot.R

A function that summarises the groups within an aggregate output dataset, by taking quantiles, and then plots these quantiles against the response data.

1 | ```
group_summary_plot(formula, data, ID = ID, weights = weights)
``` |

`formula` |
A formula for the y and x variables. |

`data` |
A data frame suitable for aggregate outputs models. |

`ID` |
The column to use as the group ID column. Unquoted value. |

`weights` |
Which column to use as within group weights such as population or time. data(madagascar_malaria) group_summary_plot(case_rate ~ LSTmean, data = madagascar_malaria, ID = ID, weights = pop) |

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.