Learn R Programming

mra (version 2.3)

print.nhat: print.nhat

Description

Print the estimates of N from a CJS object in a nice format.

Usage

## S3 method for class 'nhat':
print(x, ...)

Arguments

x
an object of class "cjs". This class of object is output from F.cjs.estim().
...
Arguments to other functions called by this one. Currently no other functions are called, so this is not used, but must be here for compatability with the generic print function.

Value

  • Nothing. Run for side effects

Details

Horvitz-Thompson estimates of N, along with standard errors, are printed. print.cjs also prints N estimates, if present, but as a brief, one-row summary. This routine prints a more complete table. Numerical values of the supsmu smooth of N estimates (bass = 0.5) associated with plots produced by plot.cjs are printed.

See Also

plot.cjs, print.cjs, F.cjs.estim

Examples

Run this code
# Fit CJS model to dipper data, time-varying capture and survivals.
data(dipper.histories)
xy <- F.cjs.covars( nrow(dipper.histories), ncol(dipper.histories) )
for(j in 1:ncol(dipper.histories)){ assign(paste("x",j,sep=""), xy$x[,,j]) } 
dipper.cjs <- F.cjs.estim( ~x2+x3+x4+x5+x6, ~x1+x2+x3+x4+x5, dipper.histories )
print.nhat(dipper.cjs)

Run the code above in your browser using DataLab