plot.msc: Display an msc object

Description Usage Arguments Details Author(s)

Description

Provides several options for displaying the output of TMC.

Usage

1
2
## S3 method for class 'msc'
plot(x, sumfun.Index = "def", fancy = FALSE, grayscale = FALSE, draw.Grid = TRUE, ...)

Arguments

x

An msc object, outputted by TMC.

sumfun.Index

This is the index number of the summary function you wish to plot. Available summary functions are listed in the summary.Functions component of the msc object.

fancy

If TRUE, will generate a 3-D plot (based on package rgl) of the results. Only works if the objects msc.List component is of length exactly 3.

grayscale

If true, will make the plots grayscale instead of color. Useful for printing. Only effective if fancy is FALSE.

draw.Grid

Draws a grid in the background of each Lattice plot. Only effective if fancy is FALSE.

...

Other graphical parameters.

Details

If, as we recommend, msc.List is of length exactly 3, the plot will display as a function of 2 independent variables. This is because, although there are technically 3 independent variables (the weights of the 3 distinct MSCs,) they are related by the equation weight_1 + weight_2 + weight_3 = 1. Hence the function is defined only on the simplex joining the 3 vectors (0,0,1), (0,1,0), (1,0,0), and so may be viewed as a 2-dimensional set. Thus, in the plot, each corner represents a pure msc, and the interior of the triangle represents the various convex combinations of them in an intuitive way.

For an msc.List of length 4, the plot produces a trellis of plots by conditioning on the weight of the 4th msc. For msc.List length larger than 4, there is no default plotting method available — instead try using summary.msc.

Author(s)

Andrew K. Smith


CombMSC documentation built on May 2, 2019, 2:32 p.m.