Description Usage Arguments Details Value Examples

Top-coding values in a vector

1 | ```
topcode(x, probs = 0.99)
``` |

`x` |
numeric vector |

`probs` |
scalar of the quantile cut-point. |

This function sets all values larger than the selected quantile to the largest value of the remaining values.

`vector`

top-coded vector.

1 2 3 4 5 6 7 |

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.