US Crudes Data
Cross-section data originating from 99 US oil field postings.
data("USCrudes")
A data frame containing 99 observations on 3 variables.
Crude prices (USD/barrel).
Gravity (degree API).
Sulphur (in %).
The data is from Baltagi (2002).
Baltagi, B.H. (2002). Econometrics, 3rd ed. Berlin, Springer.
data("USCrudes") plot(price ~ gravity, data = USCrudes) plot(price ~ sulphur, data = USCrudes) fm <- lm(price ~ sulphur + gravity, data = USCrudes) ## 3D Visualization library("scatterplot3d") s3d <- scatterplot3d(USCrudes[, 3:1], pch = 16) s3d$plane3d(fm, lty.box = "solid", col = 4)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.