siteEstimate: siteEstimate

View source: R/GeoLight.R

siteEstimateR Documentation

siteEstimate

Description

...

Usage

siteEstimate(
  tFirst,
  tSecond,
  type,
  twl,
  degElevation,
  method = "gamma",
  parms = c(3.3, 0.8),
  xlim = c(-180, 180),
  ylim = c(-90, 90),
  res = c(0.5, 0.5)
)

Arguments

tFirst

vector of sunrise/sunset times (e.g. 2008-12-01 08:30).

tSecond

vector of of sunrise/sunset times (e.g. 2008-12-01 17:30).

type

vector of either 1 or 2, defining tFirst as sunrise or sunset respectively.

twl

data.frame containing twilights and at least tFirst, tSecond and type

degElevation

the sun elevation angle (in degrees) that defines twilight (e.g. -6 for "civil twilight"). Either a single value, a vector.

method

character string; only gamma and log-normal are implemented.

parms

a vector describing the two parameters of the error density distribution (defined by method).

xlim

the longitudinal boundaries for which the likelihood will be calculated.

ylim

the latitudinal boundaries for which the likelihood will be calculated.

res

the spatial resolution in degrees.

Value

A list with ...

Author(s)

Simeon Lisovski


slisovski/GeoLight documentation built on Feb. 29, 2024, 2:10 p.m.