Description Usage Arguments Value Author(s) See Also Examples
Wrapper function for standardized use of layout() and layout.show()
1 2 |
nRows, nCols |
integers specifying number of rows and columns in matrix |
heights |
vector indicating relative heights of rows; Default is equal heights |
widths |
vector indicating relative widtsh of columns; Default is equal widths |
layout.display |
Boolean if outlines and numbers of panels should be displayed |
None
John J. Curtin jjcurtin@wisc.edu
layout(), layout.show(), figLabDefaults(), figSetDefaults(), figNewDevice(), figLines(),figLines()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 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()
figLayout(2,1)
figPlotRegion(x=c(0,10),y=c(0,10))
figConfidenceBand(p$X,p$Predicted,p$CILo,p$CIHi)
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))
figPlotRegion(x=c(0,10),y=c(0,10))
figPoints(X,Y)
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.