plot-DataDual-missing-method: Plot method for the "DataDual" class

plot,DataDual,missing-methodR Documentation

Plot method for the "DataDual" class

Description

Plot method for the "DataDual" class

Usage

## S4 method for signature 'DataDual,missing'
plot(x, y, blind = FALSE, ...)

Arguments

x

the DataDual object we want to plot

y

missing

blind

Logical (default FALSE) if to blind the data

...

not used

Value

the ggplot object

Examples


# Create some data of class 'DataDual'
myData <- DataDual(x=c(0.1,0.5,1.5,3,6,10,10,10),
                   y=c(0,0,0,0,0,0,1,0),
                   w=rnorm(8),
                   doseGrid=c(0.1,0.5,1.5,3,6,
                              seq(from=10,to=80,by=2)))

# Plot the data
#grid.arrange(plot(myData))

plot(myData)

crmPack documentation built on June 26, 2024, 5:07 p.m.