On this R-data statistics page, you will find information about the TextPrices data set which pertains to Text Prices. The TextPrices data set is found in the Stat2Data R package. You can load the TextPrices data set in R by issuing the following command at the console data("TextPrices"). This will load the data into a variable called TextPrices. If R says the TextPrices data set is not found, you can try installing the package by issuing this command install.packages("Stat2Data") 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 TextPrices R data set. The size of this file is about 285 bytes.
Prices and number of pages for a sample of college textbooks
A dataset with 30 observations on the following 2 variables.
R project statistics dataset table
|Number of pages in the textbook
|Price of the textbook (in dollars)
Two undergraduate students at Cal Poly - San Luis Obispo took a random sample of 30 textbooks from the campus bookstore in the fall of 2006. They recorded the price and number of pages in each book, in order to investigate the question of whether number of pages can be used to predict price.
Dataset imported from https://www.r-project.org.