Learn R Programming

ggRandomForests (version 1.1.1)

mtcars_rf: mtcars randomForestSRC::rfsrc for regression

Description

The data was extracted from the 1974 Motor Trend US magazine, and comprises fuel consumption and 10 aspects of automobile design and performance for 32 automobiles (1973-74 models).

Arguments

format

A randomForestSRC::rfsrc object for regression

Details

  • mpg Miles/(US) gallon
  • cyl Number of cylinders
  • disp Displacement (cu.in.)
  • hp Gross horsepower
  • drat Rear axle ratio
  • wt Weight (lb/1000)
  • qsec 1/4 mile time
  • vs V/S
  • am Transmission (0 = automatic, 1 = manual)
  • gear Number of forward gears
  • carb Number of carburetors

References

Henderson and Velleman (1981), Building multiple regression models interactively. Biometrics, 37, 391-411.

Ishwaran H. and Kogalur U.B. (2014). Random Forests for Survival, Regression and Classification (RF-SRC), R package version 1.5.4.

Ishwaran H. and Kogalur U.B. (2007). Random survival forests for R. R News 7(2), 25-31.

Ishwaran H., Kogalur U.B., Blackstone E.H. and Lauer M.S. (2008). Random survival forests. Ann. Appl. Statist. 2(3), 841-860.

Examples

Run this code
## motor trend cars
mtcars_rf <- rfsrc(mpg ~ ., data = mtcars)

plot.gg_rfsrc(mtcars_rf)
plot.gg_error(mtcars_rf)

Run the code above in your browser using DataLab