fit_oo: Fit observer by occasion model to NFS resight data

Description Usage Arguments

Description

Fit the observer by occasion model using maximum likelihood. The parameters, covariance matrix, and log-likelihood are returned in a list.

Usage

1
fit_oo(data, M, start_val = NULL, refit = TRUE, ...)

Arguments

data

A data frame containing the resight information. The data must contain the columns (1) 'obs'– the categorical name of the observer. (2) 'resample'– a variable indicating the resample occasion (3) 'm'– the counts of marked pups by each observer (4) 'u'– the counts of unmarked pups

M

the total number of unmarked pups in the population

start_val

an optional vector of starting values for the model

refit

logical. should the function attempt a refit to help ensure global optimum is reached

...

holding space for any other variable supplied, these will be ignored


dsjohnson/pupR documentation built on May 15, 2019, 4:21 p.m.