Description Usage Arguments Value Author(s) See Also Examples
Wrapper function for standardized use of points() with lab defaults for display
1 2 |
x,y |
coordinate vectors of points to join |
type |
character indicating the type of plotting; actually any of the types as in plot.default. Default = 'p' |
points.lwd |
Line width for points. Accessed from options if NULL |
points.pch |
plotting 'character', i.e., symbol to use. This can either be a single character or an integer code for one of a set of graphics symbols. The full set of S symbols is available with pch = 0:18, see the examples below. (NB: R uses circles instead of the octagons used in S.). Accessed from options if NULL |
points.col, points.bg, points.cex |
Point color, bg, and cex. Accessed from options if NULL |
None
John J. Curtin jjcurtin@wisc.edu
points(), figLabDefaults(), figSetDefaults(), figNewDevice(), figLines(),figLines()
1 2 3 4 5 6 7 8 9 10 11 12 | X = rep(2:9,4)+jitter(rep(0,32))
Y = X + rnorm(length(X),0,5)
m = lm(Y ~ X)
dNew = data.frame(X=seq(2,9,by=.01))
p = modelPredictions(m,dNew)
figNewDevice() #default is for windows(), can use quartz, tiff, or pdf as Type
figPlotRegion(x=c(0,10),y=c(0,10))
figConfidenceBand(p$X,p$Predicted,p$CILo,p$CIHi)
figPoints(X,Y)
figLines(p$X,p$Predicted)
figAxis(side=1,lab.text='X-axis 1', scale.at=seq(from=0,to=10,by=2))
figAxis(side=2,lab.text='Startle Response', scale.at=seq(from=0,to=10,by=2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.