R Dataset / Package Stat2Data / Diamonds

Documentation

On this Picostat.com statistics page, you will find information about the Diamonds data set which pertains to Diamonds. The Diamonds data set is found in the Stat2Data R package. You can load the Diamonds data set in R by issuing the following command at the console data("Diamonds"). This will load the data into a variable called Diamonds. If R says the Diamonds 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 Diamonds R data set. The size of this file is about 11,715 bytes.


Diamonds

Description

Diamonds

Format

A dataset with 351 observations on the following 6 variables.

Carat Size of the diamond (in carats)
Color Coded as D(most white/bright) through J
Clarity Coded as IF, VVS1, VVS2, VS1, VS2, SI1, SI2, or SI3
Depth Depth (as a percentage of diameter)
PricePerCt Price per carat
TotalPrice Price for the diamond (in dollars)

Details

Data for a sample of diamonds. The clarity of the diamonds ranges from IF (internally flawless) through VVS1 (very,very slightly included), VS1 (very slightly included), to SI3 (slightly included) in the order listed above.

Source

Diamond data obtained from AwesomeGems.com on July 28, 2005.

--

Dataset imported from https://www.r-project.org.

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-92094.csv 11.44 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0