plotwrapper: Plot Wrapper

Description Usage Arguments

View source: R/plotwrapper.R

Description

This is a wrapper for the OpenCPU application. It is a single function that calls out to various plot types. The function prints a plot to the graphics device and returns nothing.

Usage

1
2
3
  plotwrapper(type = c("smoothplot", "highlowplot", "areaplot"),
    ticker = "GOOG", from = "2013-01-01", to = Sys.time(),
    current = FALSE)

Arguments

type

type of plot to create. One of "smoothplot", "highlowplot", "areaplot".

ticker

stock ticker symbol. E.g. "GOOG".

from

start date. Either string or date object.

to

end date. Either string or date object.

current

include the current price of this stock. TRUE/FALSE.


kruny1001/pbshop documentation built on May 19, 2017, 6:21 a.m.