plot.gcBootSpline: Generic plot function for gcBootSpline objects

Description Usage Arguments See Also Examples

View source: R/plot.gcBootSpline.R

Description

Generic plot function for gcBootSpline objects.

Usage

1
2
3
## S3 method for class 'gcBootSpline'
plot(x, pch = 1, colData = 1,
                            colSpline = 1, cex = 1, ...)

Arguments

x

Object of class gcBootSpline.

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.

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.

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(). The vector is recycled if the number of spline fits differ from the length of the colSpline.

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

gcBootSpline

Examples

1
2
3
4
5
x <- 1:30
y <- 1/(1+exp(0.5*(15-x)))+rnorm(30)/20
TestRun <- gcBootSpline(x,y,"ID",grofit.control(nboot.gc=50))
plot(TestRun, pch=2, cex=3, colData="steelblue",
     colSpline=c("orchid", "orchid1", "orchid2", "orchid3", "orchid4"))

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