Updates the degrees of freedom in a fitted object to either the value estimated from the rank of the variance-covariance matrix, the number of coefficients, or a user-specified value.
An MRA fitted CJS model. Class must be c("cjs", "cr"). These are produced by
The new value for degrees of freedom.
An object (list) of class c("cjs","cr") with degrees of freedom, AIC, QAIC, AICc, and QAICc updated.
Trent McDonald, WEST-INC, email@example.com
1 2 3 4 5 6 7 8
## Fit CJS model to dipper data, time-varying capture and survivals. data(dipper.histories) ct <- as.factor( paste("T",1:ncol(dipper.histories), sep="")) attr(ct,"nan")<-nrow(dipper.histories) dipper.cjs <- F.cjs.estim( ~tvar(ct,drop=c(1,2)), ~tvar(ct,drop=c(1,6,7)), dipper.histories ) ## Update the degrees of freedom dipper.cjs <- F.update.df( dipper.cjs, -1 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.