Description Usage Arguments Value

Replaces all values greater than modulus with modulus and all values lt modulus with -modulus

1 | ```
clamp(x, modulus = 5)
``` |

`x` |
numeric vector |

`modulus` |
numeric scalar |

numeric vector

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.