az.pdf: Convert discrete azimuth measurements into probability...

Description Usage Arguments References Examples

View source: R/statistics.R

Description

Convert discrete azimuth measurements into probability distributions

Usage

1
2
3
4
5
6
7
8
9
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

1
2
test <- az.pdf(az=c(87,93,90,110), unc=3)
plot(test)

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