Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot-Data-missing-method

Plot method for the "Data" class


Description

Plot method for the "Data" class

Usage

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

Arguments

x

the Data object we want to plot

y

missing

blind

Logical (default FALSE) if to blind the data. If TRUE, then placebo subjects are reported by the active dose level of the corresponding cohort and DLEs are always assigned to the firsts subjects.

...

not used

Value

the ggplot object

Examples

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

# Plot the data
plot(myData)

crmPack

Object-Oriented Implementation of CRM Designs

v1.0.0
GPL (>= 2)
Authors
Daniel Sabanes Bove [aut], Wai Yin Yeung [aut], Giuseppe Palermo [aut, cre], Thomas Jaki [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.