plotpower {PDXpower}R Documentation

A function to generate a four-panel power curve under specified number of PDX lines and number of individuals per PDX lines per treatment

Description

A function to generate a four-panel power curve under specified number of PDX lines and number of individuals per PDX lines per treatment

Usage

plotpower(
  object,
  ylim = c(0, 0.1),
  x.axis.n.breaks = 10,
  y.axis.n.breaks = 10,
  cut.off = 0.8,
  legend.position = "right"
)

Arguments

object

object of class 'PowerTable'.

ylim

limit of y axis.

x.axis.n.breaks

number of breaks of the x axis. Default is 10.

y.axis.n.breaks

number of breaks of the y axis. Default is 10.

cut.off

a number to indicate the cut-off for power analysis. Default is 0.8.

legend.position

the position of legends ("none", "left", "right", "bottom", "top", or two-element numeric vector).

Value

a figure generated by ggplot.


[Package PDXpower version 1.0.4 Index]