star: Create _skyscapeR.star_ object

Description Usage Arguments See Also Examples

View source: R/stars.R

Description

This function retrieves information for a given star and saves it in the skyscapeR.star format ready to be used by other skyscapeR package function.

Usage

1
star(string, year = skyscapeR.env$cur.year)

Arguments

string

This can be either the traditional name for the star or its Bayer designation.

year

Year for which to calculate the coordinates. Defaults to current year.

See Also

swe_fixstar2_ut, swe_fixstar2_mag

Examples

1
2
3
4
5
# Retrieve data for Aldebaran:
Aldeb <- star('Aldebaran')

# Retrieve data for Aldebaran on 2999 BC:
ss <- star('Aldebaran', -3000)

skyscapeR documentation built on Oct. 30, 2021, 1:06 a.m.