jj_cap_vals | R Documentation |
Useful for plotting when there are few outlier values stretching the colour scale
jj_cap_vals(vec, cap_top = "q99", cap_bottom = NULL)
vec |
numeric vector |
cap_top |
cap values above this threshold, either a single number or a quantile as string, eg. 'q95' for quantile 95 |
cap_bottom |
same as cap_top, but cap values below this threshold |
jj_cap_vals(seq(0,100), cap_top='q95', cap_bottom=10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.