16 col01scale Author(s) Martin Maechler, 1995 See Also boxplot.default which already works with data.frames; boxplot.formula, plot.factor which work with (the more general concept) of a grouping factor. Examples ## Very similar to the example in ?boxplot mat
compresid2way 17 Examples ## See the simple function definitions: colcenter ## simply one line col01scale# almost as simple compresid2way Plot Components + Residuals for Two Factors Description Usage For an analysis of variance or regression with (at least) two factors: Plot components + residuals for two factors according to Tukey’s “forget-it plot”. Try it! compresid2way(aov, data=NULL, fac=1:2, label = TRUE, numlabel = FALSE, xlab=NULL, ylab=NULL, main=NULL, col=c(2,3,4,4), lty=c(1,1,2,4), pch=c(1,2)) Arguments aov either an aov object with a formula of the form y ~ a + b, where a and b are factors, or such a formula. data data frame containing a and b. fac Details label the two factors used for plotting. Either column numbers or names for argument data. logical indicating if levels of factors should be shown in the plot. numlabel logical indicating if effects of factors will be shown in the plot. xlab,ylab,main the usual title components, here with a non-trivial default constructed from aov and the component factors used. col,lty,pch colors, line types, plotting characters to be used for plotting [1] positive residuals, [2] negative residuals, [3] grid, [4] labels. If pch is sufficiently long, it will be used as the list of individual symbols for plotting the y values. For a two-way analysis of variance, the plot shows the additive components of the fits for the two factors by the intersections of a grid, along with the residuals. <strong>The</strong> observed values of the target variable are identical to the vertical coordinate. <strong>The</strong> application of the function has been extended to cover more complicated models. <strong>The</strong> components of the fit for two factors are shown as just described, and the residuals are added. <strong>The</strong> result is a “component plus residual” plot for two factors in one display.
- Page 1 and 2: The sfsmisc Package February 16, 20
- Page 3 and 4: AsciiToInt 3 str_data . . . . . . .
- Page 5 and 6: D1D2 5 Arguments x,y xout spar.offs
- Page 7 and 8: D2ss 7 Details Value It is well kno
- Page 9 and 10: KSd 9 KSd Approximate Critical Valu
- Page 11 and 12: TA.plot 11 Examples 32*sHalton(20,
- Page 13 and 14: axTexpr 13 TA.plot(lmO) TA.plot(lmO
- Page 15: oxplot.matrix 15 Arguments no non-n
- Page 19 and 20: cum.Vert.funkt 19 cum.Vert.funkt Ku
- Page 21 and 22: diagX 21 References S. Dudoit, J. F
- Page 23 and 24: digitsBase 23 Arguments x Value Not
- Page 25 and 26: ecdf.ksCI 25 See Also axis, axTicks
- Page 27 and 28: ellipsePoints 27 Arguments a,b alph
- Page 29 and 30: f.robftest 29 Arguments x y yplus y
- Page 31 and 32: hatMat 31 Arguments x Value trace n
- Page 33 and 34: integrate.xy 33 medcol medlwd whisk
- Page 35 and 36: iterate.lin.recursion 35 Usage inv.
- Page 37 and 38: last 37 last Get Last Elements of a
- Page 39 and 40: lseq 39 lseq Generate Sequences, Eq
- Page 41 and 42: mpl 41 mpl Simple Matrix Plots Desc
- Page 43 and 44: n.code 43 Value A list with two com
- Page 45 and 46: nearcor 45 Value xlab,ylab log cex
- Page 47 and 48: nr.sign.chg 47 cat("and this should
- Page 49 and 50: p.datum 49 See Also arrows. Example
- Page 51 and 52: p.hboxp 51 p.hboxp Add a Horizontal
- Page 53 and 54: p.res.2fact 53 p.res.2fact Plot Num
- Page 55 and 56: p.scales 55 Examples xx
- Page 57 and 58: p.ts 57 Side Effects A plot is crea
- Page 59 and 60: paste.vec 59 paste.vec Utility for
- Page 61 and 62: plotStep 61 plotDS(Th4$Time, Th4$co
- Page 63 and 64: polyn.eval 63 Value an array with t
- Page 65 and 66: posdefify 65 Details We form the ei
- Page 67 and 68:
pretty10exp 67 Examples data(potato
- Page 69 and 70:
prt.DEBUG 69 See Also table, ftable
- Page 71 and 72:
ps.latex 71 ps.end() pdf.latex("ex-
- Page 73 and 74:
quadrant 73 data(sunspots) plot(sun
- Page 75 and 76:
oundfixS 75 roundfixS Round to Inte
- Page 77 and 78:
seqXtend 77 Arguments x range coef
- Page 79 and 80:
signi 79 points(match(x,xt), x, col
- Page 81 and 82:
tapplySimpl 81 tapplySimpl More sim
- Page 83 and 84:
u.Datumvonheute 83 Author(s) Martin
- Page 85 and 86:
u.boxplot.x 85 u.boxplot.x Utility
- Page 87 and 88:
u.log 87 See Also R’s proper date
- Page 89 and 90:
uniqueL 89 Arguments n round.dig po
- Page 91 and 92:
wrapFormula 91 Value a character st
- Page 93 and 94:
xy.unique.x 93 Examples plot(xy.gri
- Page 95 and 96:
Sys.ps 95 See Also Sys.ps, etc. Exa
- Page 97 and 98:
Index ∗Topic algebra nearcor, 43
- Page 99 and 100:
INDEX 99 boxplot, 14, 32, 49, 51, 7
- Page 101:
INDEX 101 range, 74, 75 residuals.r