histogram: Computes declination histograms

Description Usage Arguments See Also Examples

View source: R/data-analysis.R

Description

This function computes the histogram of declinations, using provided measurement uncertainty and a bin size.

Usage

1
histogram(dec, unc = 2, norm = F, cut = 4, range)

Arguments

dec

Array of declination values.

unc

(Optional) Uncertainty in declination values, which will be used as bin size. Must be a single value.

norm

(Optional) Boolean specifying whether the resulting curvigram should be normalized to unity. Defaults to FALSE.

cut

(Optional) Number of uncertainties beyond the extremes of the data at which to trim the curvigram. Defaults to 4. See density.

range

(Optional) As an alternative to cut you can stipulate the range of declination values to output as an array of two values. See from, to in density.

See Also

curvigram

Examples

1
2
3
4
# Histogram of Ruggles' Recumbent Stone Circle data:
data(RugglesRSC)
hist <- histogram(RugglesRSC$Dec, 2)
plot(hist)

f-silva-archaeo/skyscapeR documentation built on Jan. 22, 2019, 8:11 a.m.