Plot product recipes (highcharts)
Usage
plot_rcp(
args,
x = NULL,
title = "Coverage Periods and Payout Factors | %s",
subtitle = "Range of payout factors by index type (% of S.I.)",
...
)
Arguments
- args
pricing arguments
- x
(optional) which location ID (loc_id) to draw
- title
chart title
- subtitle
chart subtitle
Examples
pts <- data.table(loc_id=1, X=1, Y=1, day="2020-03-02")
#> Error in data.table(loc_id = 1, X = 1, Y = 1, day = "2020-03-02"): could not find function "data.table"
args <- wc_args(pts, crop="maiz", pay_grm=.3)
#> Error in wc_args(pts, crop = "maiz", pay_grm = 0.3): could not find function "wc_args"
plot_rcp(args)
#> Error: object of type 'closure' is not subsettable