| .variable_scaler | R Documentation |
Used by the distribution plots (LCD/LRD/TRP) to overlay a frequency polygon on a bar chart with a different y-scale.
.variable_scaler(y2, yaxis1, yaxis2)
y2 |
Values on the secondary scale. |
yaxis1 |
Range (min, max) of the primary axis. |
yaxis2 |
Range (min, max) of the secondary axis. |
y2 linearly mapped into primary-axis coordinates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.