cjs.initial: Computes starting values for CJS p and Phi parameters

Description Usage Arguments Value Author(s)

View source: R/cjs.initial.R

Description

Computes starting values for Phi and p parameters from the list of design matrices and the summarized data list including ch matrix and first and last vectors. If any values are missing (NA) or abs(par)>5, they are set to 0.

Usage

1
cjs.initial(dml, imat, link = "logit")

Arguments

dml

design matrix list for Phi and p

imat

list containing chmat, first and last

link

either "logit" (for cjs) or "probit" (for probitCJS)

Value

list of initial parameter estimates

Author(s)

Jeff Laake


marked documentation built on Dec. 9, 2019, 9:06 a.m.