Description Usage Arguments Details Value Author(s) See Also Examples

Add a line to an existing CJS capture-recapture plot showing either N or survival estimates.

1 2 3 |

`x` |
CJS object from |

`what` |
Indicator for what to plot. what = "n" plots estimates of size (i.e,. \$n.hat). what = "s" plots estimates of survival. |

`animals` |
Index of animals to plot. This is the row number for
animals to include. E.g., if |

`occasions` |
Sampling occasions to plot. This must match the occasions argument to
the last |

`...` |
Additional arguments to |

This is a utility function for plotting. Lines are added to the current plot. A current plot must be displayed.

Nothing. A value of 1 is invisibly returned.

Trent McDonald, WEST Inc., [email protected]

1 2 3 4 5 6 7 8 9 | ```
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]) }
# Fit constant capture probability, period (i.e., flood) effects on survival
dipper.cjs <- F.cjs.estim( ~1, ~x2+x3, dipper.histories )
plot(dipper.cjs, type="s", animals=1)
lines(dipper.cjs, what="s", animals=c(4, 10))
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.