Learn R Programming

grpseq (version 1.0)

plot.fut: Plot the planned futility boundaries

Description

Plot the planned futility boundaries in B- or z-values as a function of information time.

Usage

# S3 method for fut
plot(
  x,
  scale = "z",
  add = FALSE,
  lty = 8,
  xlab = "Info Time",
  ylab = "z score",
  type = "b",
  pch = 1,
  cex = 1,
  main = "Futility Boundary for the Planned Test",
  xlim = c(0, 1.1),
  ylim = NULL,
  ...
)

Arguments

x

An object returned by fut.

scale

"z": plot z-values; "b": plot B-values.

add

If TRUE, the curve will be overlaid on an existing plot; otherwise, a separate plot will be constructed.

lty

Line type for the segments connecting the z-/B-value points.

xlab

A label for the x axis, defaults to a description of x.

ylab

A label for the y axis, defaults to a description of y.

type

Plot type. "l": only line segments; "p": only z-/B-value points; "b": both.

pch

Point types for the z-/B-values.

cex

Point size.

main

A main title for the plot.

xlim

The x limits of the plot.

ylim

The y limits of the plot.

...

Other arguments that can be passed to the underlying plot method.

Value

No return value, called for side effects.

See Also

fut, summary.fut, powerplot.

Examples

Run this code
# NOT RUN {
# see example for fut
# }

Run the code above in your browser using DataLab