flex_negllh_var: calculate the negative log-likelihood with PBT, GSI...

Description Usage Arguments

View source: R/flex_negllh_var.R

Description

more here?

Usage

1
2
flex_negllh_var(params, nPBT, nGSI, ohnc, t, utGSI, ohnc_gsi, utVar,
  ohnc_var, nCat)

Arguments

params

vector of paramaters to optimize

nPBT

number of pbt groups to estimate

nGSI

number of GSI groups to estimate

ohnc

vector of number of observed (PBT assigned) hatchery fish in each PBT and GSI group (gsi groups should be 0)

t

vector of tag rates for all PBT and GSI groups (gsi groups should be 0)

utGSI

vector of number of un-PBT assigned fish in each GSI group

ohnc_gsi

matrix of counts of fish GSI assigned to various groups

utVar

matrix of numbers of un-PBT assigned fish in each GSI group (row) x category of the variable (column)

ohnc_var

matrix of counts of PBT-assigned fish in each category (rows are PBT groups)

nCat

the numbers of categories in the variable


delomast/devMCpbt documentation built on Nov. 14, 2019, 2:39 p.m.