spectral: Convert stellar temperatures to spectral types based on...

Description Usage Arguments Value Note Examples

Description

This function adds spectral types to a dataframe given a column of stellar temperatures.

Usage

1
spectral(filename)

Arguments

filename

Filename is the data frame to be manipulated.

Value

Returns a data frame with spectral types.

Note

This function is generic and can be used to provide spectral types to any dataframe with a column of stellar temperatures in degrees Kelvin.

Examples

1
2
3
4
5
6
## Not run: 
library(dplyr)
df<-spectral(filename) 


## End(Not run)  

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