View source: R/reduce_agegroups.r

reduce_agegroups | R Documentation |

Operates on lower limits

reduce_agegroups(x, limits)

`x` |
vector of limits |

`limits` |
new limits |

vector with the new age groups

reduce_agegroups(seq_len(20), 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.