simCJS: Simulate individual capture-histories under a Cormack-Jolly-Seber (CJS) survival model
Description
Function generates individual capture-histories under a CJS model with possibly time-dependent parameters. The number of values for interval-specific survival (phi) and time-specific detection (p) must be ensured to be equal to the number of occasions (n.occ) minus 1.