Description Usage Arguments Value Author(s) See Also Examples
View source: R/animatoR-functions-knitr.R
Move points from start to end location
1 2 |
x0 |
numeric vector, start x coordinates. |
y0 |
numeric vector, start y coordinates. |
x1 |
numeric vector, end x coordinates. |
y1 |
numeric vector, end y coordinates. |
t |
numeric, homotopy parameter, limited between 0 and 1. This parameter can be considered as fraction of animation duration time. |
when |
numeric vector. This parameter controls the times of: entrance, exit, start of movement and, end of movement. |
p |
numeric, homotopy power parameter. Defaults to 1. |
trace |
logical. Should movement leave a trace? |
trace.col |
color of the trace. |
... |
additional arguments passed to |
List with numerical components x
and y
with
current position.
Andrej Blejec andrej.blejec@nib.si
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.