solder {rpart} | R Documentation |
The solder
data frame has 720 rows and 6 columns, representing
a balanced subset of a designed experiment varying 5 factors on the
soldering of components on printed-circuit boards.
data(solder)
This data frame contains the following columns:
Opening
L
M
S
indicating the amount of clearance around the mounting pad.
Solder
Thick
Thin
giving the thickness of the solder used.
Mask
A1.5
A3
B3
B6
indicating the type and thickness of mask used.
PadType
D4
D6
D7
L4
L6
L7
L8
L9
W4
W9
giving the size and geometry of the mounting pad.
Panel
1:3
indicating the panel on a board being tested.
skips
John M. Chambers and Trevor J. Hastie eds. (1992) Statistical Models in S, Wadsworth and Brooks/Cole, Pacific Grove, CA 1992.
data(solder) fit <- rpart(skips ~ Opening + Solder + Mask + PadType + Panel, data=solder, method='anova') summary(residuals(fit)) plot(predict(fit),residuals(fit))