Description Usage Arguments Value
View source: R/normalize_counts.R
Add some amount of buffer to a value. Used to calculate the min/max amounts for ylimits
1 | add_val_buffer(val, buffer_pct = 0.01, ceilingBuf = TRUE, asInteger = FALSE)
|
val |
A numeric type. |
buffer_pct |
The proportion of val to add/subtract to/from val. |
ceilingBuf |
If true, add buffer_pct to val. Otherwise, subtract buffer_pct from val. |
asInteger |
If true, return the nearest ceiling/floor integer to the buffered value. |
A numeric value (v +- buffer_pct * val)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.