yale_hr_diagram: Hertzsprung-Russell Diagram (Yale Trigonometric Parallax...

Description Usage Value Note Examples

Description

This function creates an observational H-R diagram on a dataset from the Yale Trigonometric Parallax Dataset.

Usage

1

Value

Returns a H-R plot based on absolute magnitude and color of stars.

Note

The data comes from the R package GDAdata which must be installed. It plots absolute magnitude by color index.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 

# Use the dataframe name from the import routine.

library(dplyr)
library(ggplot2)
install.packages("GDAdata")
data(HRstars, package="GDAdata")
yale_hr_diagram


## End(Not run)   

cowboy2718/Hertzsprung-Russell documentation built on May 23, 2019, 1:46 p.m.