Description Usage Arguments Value Author(s) Examples
The following function is described on http://opencpu.org/2011/08/embedding-a-plot-in-your-website/.
1 | liveplot(ticker)
|
ticker |
a ticker name for a plot. For example "GOOG" or "YHOO" |
returns NULL and prints a plot
Jeroen Ooms
1 2 3 4 5 6 7 8 9 | ## Not run:
liveplot("GOOG")
# Is equivalent to e.g:
# http://beta1.opencpu.org/R/call/opencpu.demo/liveplot/png?ticker="GOOG"
# http://beta1.opencpu.org/R/call/opencpu.demo/liveplot/pdf?ticker="GOOG"
# http://beta1.opencpu.org/R/call/opencpu.demo/liveplot/png?ticker="YHOO"
# http://beta1.opencpu.org/R/call/opencpu.demo/liveplot/png?ticker="YHOO"&!width=1000&!height=800
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.