R Dataset / Package Stat2Data / Diamonds2

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

Diamonds2

Description

A subset of the Diamonds data

Format

A dataset with 307 observations on the following 6 variables.

R project statistics dataset table
Carat Size of the diamond (in carats)
Color Coded as D(most white/bright) through G
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

A subset of the Diamonds data, containing only those with most frequent colors D, E, F, and G. 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.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-stat2data-diamonds2.html" width="100%" height="100%" style="border:0px"></iframe>