plot.drFitSpline: Generic plot function for drFitSpline objects

Description Usage Arguments See Also Examples

View source: R/plot.drFitSpline.R

Description

Generic plot function for drFitSpline objects

Usage

1
2
3
4
## S3 method for class 'drFitSpline'
plot(x, add = FALSE, ec50line = TRUE,
                           pch = 1, colSpline = 1, colData = 1,
                           cex = 1, ...)

Arguments

x

Object of class drFitSpline.

add

Logical, indicates wether the plot should be added to an existing plot device or plotted in a new window.

ec50line

Logical, indicates wether the EC50 value and respecting response values should be visualized by a dotted line.

pch

Numeric vector, describing plotting character used for plotting the raw data. Similar to the pch option from plot.default. The vector is recycled if the number of given data points differs from the length of the pch.

colSpline

Vector, describing the color used for plotting the spline fit. Similar to the col option from plot.default. The values must be (numeric) from 0:8 or (character) an element of colors().

colData

Vector, describing the color used for plotting the raw data. Similar to the col option from plot.default. The values must be (numeric) from 0:8 or (character) an element of colors(). The vector is recycled if the number of data points differ from the length of the colData.

cex

Numeric vector, describing the character expansion used for plotting the raw data. Similar to the cex option from plot.default. The vector is recycled if the number of data points differ from the length of the cex.

...

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.

See Also

drFitSpline

Examples

1
2
3
4
x <- 1:30
y <- 1/(1+exp(-0.5*(15-x)))+rnorm(30)/20
TestRun <- drFitSpline(x,y)
plot(TestRun, colData=c(1,3),pch=1:4,cex=3:5, colSpline=c("tomato"))

grofit documentation built on May 30, 2017, 4:08 a.m.