Learn R Programming

marked (version 1.2.8)

fix.parameters: Fixing real parameters in crm models

Description

Creates matrix with appropriate structure for fixing real parameters in a crm model for a specified set of capture histories and occasions.

Usage

fix.parameters(x, subset = NULL, occasions, values)

Value

Matrix with 3 columns: 1) animal row number, 2) occasion, 3) value for real parameter

Arguments

x

processed data list

subset

logical expression for set of animals; used in subset function

occasions

vector of occasion numbers

values

either single or vector of values; if latter, must match length of occasions

Author

Jeff Laake