Description Usage Arguments See Also Examples
View source: R/plot.drBootSpline.R
Generic plot function for drBootSpline
objects. Plots the raw data and all generated dose-response curves. Also plots a histogram of the EC50 estimates. The function makes use of the plot.drFitSpline
function.
1 2 |
x |
|
pch |
Numeric vector, describing plotting character used for plotting the raw data. Similar to the |
colData |
Vector, describing the color used for plotting the raw data. Similar to the |
colSpline |
Vector, describing the color used for plotting the spline fit. Similar to the |
cex |
Numeric vector, describing the character expansion used for plotting the raw data. Similar to the |
... |
Other graphical parameters may also passed as arguments. This has currently no effect and is only meant to fulfill the requirements of a generic function. |
1 2 3 4 5 6 7 8 9 | # generate random data set
data <- ran.data(100,25)
time <- data$time
data <- data$data
# call grofit
TestRun<-grofit(time,data,TRUE,grofit.control(nboot.dr=50))
# plot dose-reponse curve sample
plot(TestRun$drFit$drBootSplines[[1]], colData=c(1,3),pch=1:4,cex=3:5,
colSpline=c("tomato", "tomato1", "tomato2", "tomato3", "tomato4"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.