plot.fut: Plot the planned futility boundaries

Description Usage Arguments Value See Also Examples

View source: R/generic.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## S3 method for class '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

1
# see example for fut

grpseq documentation built on Dec. 7, 2021, 1:06 a.m.