slide | R Documentation |
Creates a function that slides smoothly from one constant level to another
slide(xs, x0, y0, x1, y1, s0, s1)
xs |
the input x-values |
x0 |
the starting x of the slide |
y0 |
the starting y value of the slide (the constant level on the left) |
x1 |
the end x of the slide |
y1 |
the end y of the slide (i.e. the constant level on the right) |
s0 |
the amount of smoothing on the left |
s1 |
the amount of smoothing on the right |
the y values corresponding to the input x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.