Learn R Programming

phenology (version 7.2)

Tagloss_model: Return the daily rate of tag loss.

Description

This function compute a model of daily tag loss rate for days t based on a set of parameters, par.

Usage

Tagloss_model(t, par)

Arguments

t

Time for which values of model must be estimated

par

Parameter

Value

Return the daily rate of tag loss.

Details

Tagloss_model returns the daily rate of tag loss.

See Also

Other Model of Tag-loss: Tagloss_LengthObs, Tagloss_L, Tagloss_daymax, Tagloss_fit, Tagloss_format, Tagloss_simulate, logLik.Tagloss, plot.Tagloss

Examples

Run this code
# NOT RUN {
library(phenology)
# }
# NOT RUN {
# Example
t <- 1:1000
par <- c(D1=200, D2D1=100, D3D2=200, 
         A=-logit(0.02), B=-logit(0.05), C=-logit(0.07))
y <- Tagloss_model(t, par)
plot(x=t, y, type="l")
# }

Run the code above in your browser using DataLab