Produce a list of arguements controlling BMAnimalTrack

Share:

Description

This function include the defaul values of the parameters controls the BMAnimalTrack function and passes user-specified values into BMAnimalTrack.

Usage

1
2
BMControl(print = FALSE, zStepSize = 1, logPiTol = 3, 
        returnParam = FALSE, CILevel = 0.95, ...)

Arguments

print

Logical. Whether to print the progress information to screen.

zStepSize

Positive number. Controls the stepsize in the search of grid points for numerical integratoin. More grid points will be consider with smaller zStepSize.

logPiTol

Positive number. Controls the tolerance the difference between log likelihoods at the grids points and grid center (empirical Bayesian estimates)

returnParam

Logical. Decides whether the empirical Bayesian parameters estimates should be returned.

CILevel

The level of the Bayesian credible interval. Default values i 95%.

...

Other arguments that you would like to pass into the BMAnimalTrack

Value

A list with the above arguments.

Author(s)

Yang (Seagle) Liu <yang.liu@stat.ubc.ca>

References

Liu, Y., Battaile, B. C., Zidek, J. V., and Trites, A. (2014). Bayesian melding of the Dead-Reckoned path and gps measurements for an accurate and high-resolution path of marine mammals. arXiv preprint arXiv: 1411.6683.

See Also

BMAnimalTrack

Examples

1
2
3
4
5
6
7
8
9
set.seed(1)
#Generating data from our 
dlist <- dataSim(T=100, K=10, s2H=1, s2D=0.1, betaVec=c(1))
gpsObs <- dlist$Y
gpsTime <- dlist$Ytime
drPath <- dlist$X
wlist <- as.dataList(drPath, gpsObs, gpsTime, timeUnit=1, s2G=0.01,
          dUnit=1, betaOrder=1)
etaMar <- BMAnimalTrack(wlist, BMControl(print=TRUE))