occu: Fit the MacKenzie et al. (2002) Occupancy Model

Description Usage Arguments Value Author(s)

View source: R/occu.r

Description

This function fits the single season occupancy model of MacKenzie et al (2002).

Usage

1
2
occu(formula, data, knownOcc = numeric(0), method = "BFGS",
  control = list())

Arguments

formula

Double right-hand side formula describing covariates of detection and occupancy in that order.

data

An UnmarkedFrameOccu object

method

Method used to solve the model. Either "stan", or a method used by nloptr.

control

List of options to specify model fitting procedure. See Details.

kwnownOcc

Vector of sites that are known to be occupied. These should be supplied as row numbers of the y matrix, eg, c(3,8) if sites 3 and 8 were known to be occupied a priori.

Value

unmarkedFitOccu object.

Author(s)

Jeffrey O. Hanson


jeffreyhanson/unmarkedExtra documentation built on May 19, 2019, 4:01 a.m.