createHor: Create ._skyscapeR.horizon_ object from Az/Alt data

Description Usage Arguments See Also Examples

View source: R/horizon.R

Description

This function creates a skyscapeR.horizon object from measurements of azimuth and altitude.

Usage

1
createHor(az, alt, alt.unc, loc, name)

Arguments

az

Array of azimuth values

alt

Array of altitude values.

alt.unc

(Optional) Either a single value or an array of altitude uncertainty.

loc

Location, a vector containing the latitude and longitude of the location, in this order.

name

Name of site.

See Also

plot.skyscapeR.horizon

createHWT, downloadHWT

Examples

1
2
3
4
5
# Create a skyscapeR.horizon from 5 measurements:
az <- c(0,90,180,270,360)
alt <- c(0,5,5,0,0)
hor <- createHor(az, alt, 0.1, c(40.1,-8), 'Test')
plot(hor)

f-silva-archaeo/skyscapeR documentation built on May 27, 2019, 12:11 p.m.