R Dataset / Package ISLR / OJ
Documentation |
---|
On this R-data statistics page, you will find information about the OJ data set which pertains to Orange Juice Data. The OJ data set is found in the ISLR R package. You can load the OJ data set in R by issuing the following command at the console data("OJ"). This will load the data into a variable called OJ. If R says the OJ data set is not found, you can try installing the package by issuing this command install.packages("ISLR") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the OJ R data set. The size of this file is about 77,091 bytes. Orange Juice DataDescriptionThe data contains 1070 purchases where the customer either purchased Citrus Hill or Minute Maid Orange Juice. A number of characteristics of the customer and product are recorded. UsageOJ FormatA data frame with 1070 observations on the following 18 variables.
SourceStine, Robert A., Foster, Dean P., Waterman, Richard P. Business Analysis Using Regression (1998). Published by Springer. ReferencesGames, G., Witten, D., Hastie, T., and Tibshirani, R. (2013) An Introduction to Statistical Learning with applications in R, www.StatLearning.com, Springer-Verlag, New York Examplessummary(OJ) plot(OJ$Purchase,OJ$PriceCH) -- Dataset imported from https://www.r-project.org. |
Title | Authored on | Content type |
---|---|---|
OpenIntro Statistics Dataset - dream | August 9, 2020 - 12:25 PM | Dataset |
OpenIntro Statistics Dataset - winery_cars | August 9, 2020 - 2:38 PM | Dataset |
R Dataset / Package HSAUR / toothpaste | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package HSAUR / pottery | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package HistData / Guerry | March 9, 2018 - 1:06 PM | Dataset |
Attachment | Size |
---|---|
dataset-24819.csv | 75.28 KB |