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

plot,MSFC-methodR Documentation

S4 method for the plot generic for class "MSFC"

Description

S4 method for the plot generic for class "MSFC"

Usage

## 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


sleire/etrm documentation built on Feb. 5, 2023, 9:02 a.m.