Description Usage Arguments Details Value Author(s)
sym returns a symmetric numeric interval, centered about zero.
1 | sym(lims = 1, qtile = 1)
|
lims |
A numeric value or vector. If its length is greater than one, the quantile specified by the qtile argument will be calculated for the absolute values of lims. |
qtile |
A numeric value in the range 0-1 (inclusive). If lims contains multiple values, this quantile of the distributions of abs(lims) will be used to define the interval. The default value of 1 will return max(abs(lims)). |
This function is useful for setting symmetric limits on graphs (among other things.)
Returns a symmetric interval about zero, from -lims to lims, or if lims contains more than one value, a symmetric interval about zero that contains the fraction of the data specified by qtile.
M.W.Rowe, mwr.stats@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.