make.L: Combine individual source likelihoods

Description Usage Arguments Value Note

View source: R/make.L.r

Description

make.L combines individual likelihoods from various data sources (e.g. SST, OHC) to make overall combined likelihoods for each time point

Usage

1
2
3
make.L(L1, L2 = NULL, L3 = NULL, known.locs = NULL, L.mle.res,
  dateVec = NULL, locs.grid = NULL, iniloc = NULL, bathy = NULL,
  pdt = NULL)

Arguments

L1

a likelihood array

L2

a likelihood array

L3

a likelihood array

known.locs

is data frame of known locations containing named columns of date, lon, lat. Default is NULL.

L.mle.res

is a coarse resolution array of dim(L1) that speeds up the parameter estimation step later on

dateVec

is vector of dates from tag to pop-up date by day. Only required if known.locs is not NULL.

locs.grid

is output grid from setup.locs.grid. Only required if known.locs is not NULL.

iniloc

is matrix of tag and pop locations. Default is NULL because this should be taken care of elsewhere.

bathy

is bathymetry raster (likely from ETOPO1) as acquired by get.bath.data

pdt

is data frame output from read.wc(type='pdt')

Value

a list containing: L, the overall likelihood array and L.mle, a more coarse version of L used later for parameter estimation

Note

This function currently only supports the use of 3 input likelihood data sources. This will be expanded in the future based on user needs.


HMMoce documentation built on Nov. 17, 2017, 5:57 a.m.