Learn R Programming

crmPack (version 2.2.1)

plot,Samples,TwoDrugsCombo-method: Plotting two-drug combination dose-toxicity model fits

Description

Plotting two-drug combination dose-toxicity model fits

Usage

# S4 method for Samples,TwoDrugsCombo
plot(
  x,
  y,
  data,
  ...,
  xlab = NULL,
  ylab = NULL,
  fillLab = "Probability of DLT [%]",
  showLegend = TRUE
)

Value

This returns the ggplot object for the two-drug combination dose-toxicity model fit.

Arguments

x

the Samples object.

y

the TwoDrugsCombo object.

data

the DataCombo object.

...

passed to fit.

xlab

the x axis label. If NULL, the first drug name is used.

ylab

the y axis label. If NULL, the second drug name is used.

fillLab

the fill legend label.

showLegend

should the legend be shown? (default)