star: Create _skyscapeR.star_ object

View source: R/stars.R

starR Documentation

Create skyscapeR.star object

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

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

# Retrieve data for Aldebaran:
Aldeb <- star('Aldebaran')

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

f-silva-archaeo/skyscapeR documentation built on Sept. 24, 2023, 8:14 p.m.