Description Usage Arguments Value Examples
data simulation for single release, diff surv for int and seg groups
1 2 | siml_cjs(big_phi, big_p, mrkd, remv, n_occ, intgr, surv_diff, grp_t,
adu_rtn)
|
big_phi |
Set reach survivals. |
big_p |
Set detection probabilities for each reach. |
mrkd |
Indicates amount of fish released. |
remv |
Indicates the portion of fish removed (transported or died). |
n_occ |
Number of events/detection. |
intgr |
Portion of "integrated" group. Integrated + Segregated = 1. |
surv_diff |
Difference in survival between the intergrated and segregated groups. |
grp_t |
Portion of transported group. Group T + Group R = 1 |
adu_rtn |
Adult return rate. |
Simulated detection history and adult counts. Bootstrap ready.
1 2 3 4 5 6 7 8 9 10 11 12 13 | n_occ<- 8
mrkd<- 5000
phi_real<- rep(0.8, n_occ-1) # set survival
p_real<- rep(0.45, n_occ-1) # set detection
remv<- 0.01 # portion removed at occ 2 and 3
intgr<- 0.23
surv_diff<- 0.07
grp_t<- 0.7
adu_rtn<- 0.02
big_phi<- matrix(phi_real, ncol= n_occ-1, nrow= mrkd)
big_p<- matrix(p_real, ncol= n_occ-1, nrow= mrkd)
ch<- siml_cjs(big_phi, big_p, mrkd, remv, n_occ, intgr, surv_diff, grp_t, adu_rtn)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.