R Dataset / Package robustbase / starsCYG

On this R-data statistics page, you will find information about the starsCYG data set which pertains to Hertzsprung-Russell Diagram Data of Star Cluster CYG OB1. The starsCYG data set is found in the robustbase R package. You can load the starsCYG data set in R by issuing the following command at the console data("starsCYG"). This will load the data into a variable called starsCYG. If R says the starsCYG data set is not found, you can try installing the package by issuing this command install.packages("robustbase") 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 starsCYG R data set. The size of this file is about 485 bytes.

Hertzsprung-Russell Diagram Data of Star Cluster CYG OB1

Description

Data for the Hertzsprung-Russell Diagram of the Star Cluster CYG OB1, which contains 47 stars in the direction of Cygnus, from C.Doom. The first variable is the logarithm of the effective temperature at the surface of the star (Te) and the second one is the logarithm of its light intencity (L/L_0).

In the Hertzsprung-Russell diagram, which is the scatterplot of these data points, where the log temperature is plotted from left to right, two groups of points are seen:the majority which tend to follow a steep band and four stars in the upper corner. In the astronomy the 43 stars are said to lie on the main sequence and the four remaining stars are called “giants” (the points 11, 20, 30, 34).

Usage

data(starsCYG)

Format

A data frame with 47 observations on the following 2 variables

log.Te

Logarithm of the effective temperature at the surface of the star (Te).

log.light

Logarithm of its light intencity (L/L_0)

Source

P. J. Rousseeuw and A. M. Leroy (1987) Robust Regression and Outlier Detection; Wiley, p.27, table 3.

Examples

data(starsCYG)
plot(starsCYG)
cst <- covMcd(starsCYG)
lm.stars <- lm(log.light ~ log.Te, data = starsCYG)
summary(lm.stars)
plot(lm.stars)
lts.stars <- ltsReg(log.light ~ log.Te, data = starsCYG)
plot(lts.stars)

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

Attachments: csv, json

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