Skip to contents

[Stable]

Plot PMdopt objects

Usage

# S3 method for PMdopt
plot(
  x,
  col.mean = "red",
  lwd.mean = 4,
  ticksize.mean = 0.1,
  xlab = "Time",
  ylab = "Probability",
  layout = c(1, 1),
  ...
)

Arguments

x

The name of an PMdopt data object generated by Dopt

col.mean

This parameter will be applied to the tick mark indicating the weighted mean optimal time

lwd.mean

This parameter will be applied to the tick mark indicating the weighted mean optimal time

ticksize.mean

This parameter will be applied to the tick mark indicating the weighted mean optimal time

xlab

Define x-axis label. Default is “Time”.

ylab

Define y-axis label. Default “Probability”.

layout

This parameter specifies the number of rows and columns per page, e.g. layout=c(2,2).

...

Other parameters as found in plot.default.

Value

Plots the object.

Details

This function will plot the output of the Dopt function. A histogram is generated with the probability distribution of each optimal time for each support point in the model, and the weighted mean for that time.

See also

Author

Michael Neely