price.ani | R Documentation |
This function can display the frequencies of stock prices in a certain time span with the span changing.
price.ani(
price,
time,
time.begin = min(time),
span = 15 * 60,
...,
xlab = "price",
ylab = "frequency",
xlim,
ylim,
main
)
price |
stock prices |
time |
time corresponding to prices |
time.begin |
the time for the animation to begin (default to be the
minimum |
span |
time span (unit in seconds; default to be 15 minutes) |
... |
other arguments passed to |
xlab, ylab, xlim, ylim, main |
they are passed to |
invisible NULL
Yihui Xie
Examples at https://yihui.org/animation/example/price-ani/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.