az.pdf {skyscapeR} | R Documentation |
Convert discrete azimuth measurements into probability distributions
Description
Convert discrete azimuth measurements into probability distributions
Usage
az.pdf(
pdf = "normal",
az,
unc,
name,
verbose = T,
.cutoff = 1e-04,
.res = 0.01
)
Arguments
pdf |
(Optional) String describing the probability distribution to be used. At the moment only normal and uniform are supported. Default is normal |
az |
An array of azimuths |
unc |
Azimuth uncertainties as either an array of the same length as az or a single value to be applied to all measurements |
name |
(Optional) An array of names to identify each measurement |
verbose |
(Optional) Boolean to control whether or not to display text. Default is TRUE. |
.cutoff |
(Optional) Value of probability distribution(s) at which point it will be cutoff to save on memory. Default is 1e-4 |
.res |
(Optional) Azimuth resolution with which to output probability distribution(s). Default is 0.01 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
test <- az.pdf(az=c(87,93,90,110), unc=3)
plot(test)