plot-MSFC-method: S4 method for the plot generic for class "MSFC"

Description Usage Arguments Value

Description

S4 method for the plot generic for class "MSFC"

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S4 method for signature 'MSFC'
plot(
  x,
  y = NULL,
  plot.prior = FALSE,
  title = "",
  xlab = "",
  ylab = "Price",
  legend = "right"
)

Arguments

x

instance of the MSFC class created by the msfc function

y

NULL

plot.prior

TRUE/FALSE for incuding prior function in plot

title

plot title

xlab

x-axis title

ylab

y-axis title

legend

position of legend, as implemented in ggplot2

Value

a chart with daily values for the forward curve and contracts used in calculation


etrm documentation built on June 23, 2021, 9:09 a.m.