Learn R Programming

skyscapeR

skyscapeR is an open source R package for data reduction, visualization and analysis in skyscape archaeology, archaeoastronomy and cultural astronomy. Its aim is to be a fully-fledged, transparent and peer-reviewed package offering a robust set of quantitative methods while still retaining simplicity of use.

For an introduction to skyscapeR check the official vignette.

Installation

Just do:

if(!requireNamespace("devtools", quietly = TRUE)) { install.packages("devtools") }
devtools::install_github('f-silva-archaeo/skyscapeR')

Release Notes

v1.0.0 notes

New CRAN release: major overhaul of package with new functionality throughout.

v0.2.2 CRAN release

The latest release version (v0.2.2) is available on CRAN. This Git contains the latest development version which has several bug fixes and additional tools (some of which might not have been fully tested).

Copy Link

Version

Install

install.packages('skyscapeR')

Monthly Downloads

155

Version

1.0.0

License

GPL (>= 2)

Maintainer

Silva Fabio

Last Published

October 29th, 2021

Functions in skyscapeR (1.0.0)

EFM

Equinoctial Full Moons
RugglesRSC

Recumbent Stone Circle Data
az2dec

Calculates declination from azimuth and altitude measurements
bernoulli.trial

Execute a (series of) Bernoulli trial(s)
az.pdf

Convert discrete azimuth measurements into probability distributions
antizenith

Declination of the anti-zenith sun for a given location
createHWT

Create and download horizon data from HeyWhatsThat
createHor

Create skyscapeR.horizon object from Az/Alt data
hor2alt

Retrieves horizon altitude for a given azimuth from a given horizon profile
hpdi

Returns the high-density region of a probability distribution
pval2stars

Converts p-value into symbol
mag.dec

Estimates magnetic declination (difference between true and magnetic north) based on IGRF 12th gen model
long.date

Converts day-month in 'MM-DD' format to a more readable format
eq

Declination of the sun at the Equinox
nmnLX

Declination of northern minor Lunar Extreme for a given year
obliquity

Computes obliquity of the ecliptic
curvigram

(Defunct) Computes declination curvigram
dS

Declination of December Solstice for a given year
parallax.corr

Corrected parallax for a given location and object altitude
orbit

Calculate visible path of celestial object at given location
moonphase

Computes the phase of the moon
nMjLX

Declination of northern major Lunar Extreme for a given year
plot.skyscapeR.horizon

Plot horizon data
plot.skyscapeR.sigTest

Plot significance test of orientations
reduct.compass

Data reduction for compass measurements
plot.skyscapeR.pdf

Plot orientation probability distributions
reduct.theodolite

Data reduction for theodolite measurements using the sun-sight method
plot.skyscapeR.spd

Plot orientation summed probability density
plot.skyscapeR.starphases

Plot stellar phase and seasonality
plotAzimuth

Polar plot of orientations (azimuths)
skyscapeR.vars

See and change the global variables used by skyscapeR
sky.sketch

Create a simplistic sketch of the sky at a given moment in time
sigTest

(Defunct) Perform a null hypothesis significance test of a given curvigram
body.position

Computes position of Solar System bodies in equatorial coordinates
riseset

Computes the rising and setting azimuth, declination and time of a Solar System object for a given location and day
jS

Declination of June Solstice for a given year
plotBars

Bar plot of orientations (declination)
exportHor

Exports a skyscapeR.horizon object into Stellarium format
jd2time

Converts Julian date and time (in any timezone) to julian date
findTargets

Find celestial targets within declination and time ranges
coordtrans

Coordinate-transform azimuth prob distributions into declination prob distributions
spatial.equinox

Declination of the spatial equinox for a given location
spd

Summed probability density (SPD)
randomTest

Significance test against the null hypothesis of random orientation
print.skyscapeR.sigTest

Prints significance test results
ten

Converts degree measurements in deg-min-sec (<U+00BA> ' ") format into decimal-point degree format.
solar.date

Solar Date
smnLX

Declination of southern minor Lunar Extreme for a given year
sunAz

Returns the azimuth of the sun at a given time from a specific location
sMjLX

Declination of southern major Lunar Extreme for a given year
star

Create skyscapeR.star object
sky.objects

Creates a skyscapeR.object for plotting of celestial objects at given epoch
timestring

Converts date and time numeric values to a single string
time2jd

Converts date and time (in any timezone) to Julian date
zenith

Declination of the zenith sun for a given location
star.phases

Calculate the seasons and phase type of a star
RugglesCKR

Cork and Kerry Stone Row Data
BC.AD

Converts year number (epoch) to calendar year
downloadHWT

Download horizon data from HeyWhatsThat