| historical_plot | R Documentation |
Function to make an interactive
dygraphs::dygraph plot of historical
contract data.
historical_plot(contract_data)
contract_data |
Named list containing contract name and data of class
|
Interactive dygraphs::dygraph plot
containing time series data for contract 'close' prices.
filename <- "What_will_be_the_balance_of_power_in_Congress_after_the_2020_election.csv"
csv_path <- system.file("extdata", filename, package = "rpredictit")
contract_data <- parse_historical_csv(csv_path)
historical_plot(contract_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.