powered by
The p8.11 data frame has 25 observations on the tensile strength of synthetic fibre used for men's shirts.
p8.11
data(p8.11)
This data frame contains the following columns:
tensile strength
percentage of cotton
Montgomery (2001)
data(p8.11) y.lm <- lm(y ~ percent, data=p8.11) model.matrix(y.lm)
Run the code above in your browser using DataLab