expandbound | R Documentation |
Calculate an expanded bounding region based on a percent of the existing boundaries
expandbound(g, pct = 0.1)
g |
vector of values |
pct |
fractional percent to expand |
uses the range of the exising vector to estimate the expanded bound
vector, new range
Jonathan M. Lees<jonathan.lees@unc.edu>
i = 5:10
exi = expandbound(i, pct = 0.1)
range(i)
range(exi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.