plot,MSFC-method {etrm}R 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


[Package etrm version 1.0.1 Index]