Description Usage Arguments Value
View source: R/marginal_methods.R
Scale from [0, xmax] to (0,1). Values exactly at 0 are shifted up by an offset to stabilize the boundary. All other values are scaled to avoid the boundary at 1.
1 |
x |
A vector of samples |
xmax |
Maximum allowable x value. If NA, function returns the input values. |
scale |
Scaling factor (0,1] to move maximum values off boundary at 1 |
zero_offset |
Amount to shift minimum values off the boundary at 0 in the (0,1) domain |
The vector of samples rescaled to [0,1]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.