nestAbund.runmod {nestAbund2}R Documentation

Analyze nest abund. data, for a given model

Description

This function is called from the GUI, but may be run as a command from an R script.

Usage

nestAbund.runmod(mname = "Phi()P()GAU", init = NULL)

Arguments

mname

input model name

init

initial values of parameters

Details

model-name : Phi or P can vary by zero or more of the following:

site, stage, BinCov, ContCov. To specify a model, simply set the model name to Phi(xxx)P(yyy), where xxx and yyy are combinations of the 4 possibilities joined by '+'.

For example, Phi(site)P() would specify a model where survival varies by site, but is constant with respect to nest stage and covariates. Detection (P) is constant with respect to site, stage and covariates.

To run a model using the GUI, go to the 'Models/Model-Phi' or 'Models/Model-P' menus and select one or more of the sub-menu items. Or, choose one of the pre-defined models.

There are 3 choices for the distribution of entry-dates in the model (GAU=default, RCOS, and TIME). In the GUI, one of the other distributions can be selected via the distribution menu under 'Model/Model-Phi' or 'Model/Model-P'. If not using the GUI, append one of the other choices onto the end of the modname parameter (eg., Phi(site+stage)P()RCOS).

This function cannot be run until the data have been input and binary and continuous covariates have been selected

Value

returns list of optimization results:

ss1$code

optimization completion code

ss1$estimate

maximum likelihood estimates

ss1$mimimum

negative maximum likelihood value


[Package nestAbund2 version 0.1.0 Index]