View source: R/limits_to_agegroups.r

limits_to_agegroups | R Documentation |

Mostly used for plot labelling

limits_to_agegroups(x, limits = sort(unique(x)))

`x` |
age limits to transform |

`limits` |
lower age limits; if not given, will use all limits in |

Age groups (limits separated by dashes)

limits_to_agegroups(c(0, 5, 10))

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.