Learn R Programming

DLMtool (version 5.2)

VOIplot2: Value of Information Plot using PM functions

Description

This VOI plot shows the value of information for a single MP and uses the PM functions.

Usage

VOIplot2(MSE, MP = 1, type = c("Obs", "OM"), PM = "Yield", n = 5,
  axis.title.size = 12, axis.text.size = 10, legend.title.size = 10,
  include.leg = TRUE)

Arguments

MSE

An object of class MSE

MP

The name or number of MP to plot. Character or numeric.

type

Character. Type of VOI plot - "Obs" or "OM"

PM

Name of a PM method to plot on the y-axis

n

The maximum number of variables to plot.

axis.title.size

Size of axis title

axis.text.size

Size of axis text

legend.title.size

Size of legend text

include.leg

Logical. Include the legend?

Examples

Run this code
# NOT RUN {
MSE <- runMSE()
VOIplot2(MSE)

VOIplot2(MSE, "OM")

VOIplot2(MSE, PM='P100')

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab