SGAT2Movebank: Summaries of Location Samples for Movebank

View source: R/SGAT.R

SGAT2MovebankR Documentation

Summaries of Location Samples for Movebank

Description

Summarize a set of location samples in the format required for upload to Movebank

Usage

SGAT2Movebank(
  s,
  time = NULL,
  group = NULL,
  discard = 0,
  alpha = 0.95,
  chains = NULL
)

Arguments

s

a single chain or a list of parallel chains generated by estelleMetropolis or stellaMetropolis.

time

the times corresponding to the x locations.

group

integer vector that defines the twilight groups. If codegroup[k]==j then the k-th twilight occurs at location j. Default is NULL for non-grouped models.

discard

number of initial samples to discard.

alpha

coverage of the credible intervals calculated by locationSummary.

chains

the set of chains to retain, or NULL.

Details

These functions compute various summaries of a sample or list of samples generated by estelleMetropolis or stellaMetropolis.

These functions accept either a sample from a single mcmc run, or a list of samples from parallel mcmc runs.

Value

SGAT2Movebank

returns a dataframe of summary quantities for each location or grouped location.


SWotherspoon/SGAT documentation built on June 1, 2022, 10:49 p.m.