Description Usage Format Source References Examples
The fuel.frame
data frame contains data on
5 variables (columns) for 117 cars (rows).
1 |
This data frame contains the following columns:
character variable giving the name (make) of the car
the weight of the car in pounds.
the engine displacement in litres.
gas mileage in miles/gallon.
a derived variable concerning fuel efficiency.
a factor giving the general type of car. The levels are: Small ,Sporty , Compact , Medium , Large , Van.
Consumer Reports, April, 1990, pp. 235-288.
Chambers, J.M. and Hastie, T.J. (eds.) (1992)
Statistical Models in S.
Wadsworth and Brooks, Pacific Grove, California.
1 2 3 4 5 6 7 | library(SemiPar)
data(fuel.frame)
pairs(fuel.frame)
par(mfrow=c(2,2))
fuel.fit <- lm(Fuel ~ Weight + Disp.,fuel.frame)
plot(fuel.fit,ask=FALSE)
par(mfrow=c(1,1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.