plot_tick: Plot payout curves (highcharts)

plot_tickR Documentation

Plot payout curves (highcharts)

Description

Plot payout curves (highcharts)

Usage

plot_tick(data, title = NA, subtitle = NA, rowheight = 200, ...)

Arguments

data

output of wc_price at 1 trigger location (single contract)

title

chart title

subtitle

chart subtitle

rowheight

Height in px.

...

Arguments passed on to hc_themed

hc

a highchart object

label

optional annotation

base_font

default font for all chart elements

axes

show axes (default: TRUE)

exporting

include chart export menu (default: TRUE)

credits

include credits (default: FALSE)

args

pricing arguments

Examples

pts <- data.table(loc_id=1, X=30, Y=-17, day="2020-12-01")
args <- wc_args(pts, product="MAIZ-ZWE-05-CB01", code="rfe")
data <- wc_price(args=args)
plot_tick(data, args)


mbacou/WADashboard documentation built on Jan. 3, 2023, 6:21 p.m.