coordtrans {skyscapeR} | R Documentation |
Coordinate-transform azimuth prob distributions into declination prob distributions
Description
Coordinate-transform azimuth prob distributions into declination prob distributions
Usage
coordtrans(pdf, hor, refraction, atm, temp, verbose = T, .res = 0.1)
Arguments
pdf |
A skyscapeR.pdf object created with |
hor |
A skyscapeR.horizon object created with |
refraction |
(Optional) Whether atmospheric refraction is to be taken into account.
If not given the value set by |
atm |
(Optional) Atmospheric pressure for refraction calculation.
If not given the value set by |
temp |
(Optional) Atmospheric temperature for refraction calculation.
If not given the value set by |
verbose |
(Optional) Boolean to control whether or not to display text. Default is TRUE. |
.res |
(Optional) Declination resolution with which to output probability distribution(s). Default is 0.1 degrees. |
References
Silva, F (2020) A probabilistic framework and significance test for the analysis of structural orientations in skyscape archaeology Journal of Archaeological Science 118, 105138. <doi:10.1016/j.jas.2020.105138>
Examples
Az <- az.pdf(az=c(87,93,90,110), unc=3)
hor <- createHor(az=c(0,360), alt=c(0,0), loc=c(35,-8,25)) # flat horizon with 0 degrees of altitude
Dec <- coordtrans(Az, hor)
plot(Dec)