## generate some arguments for sim.capthist
## noccasions is constant
expand.arg(detectfn = c('HN','EX'), noccasions = 5)
## detectpar sub-list
expand.arg(lambda0 = c(0.1, 0.2), sigma = 20, detectfn = c('HHN','HEX'),
sublist = list(detectpar = c('lambda0','sigma')))
Run the code above in your browser using DataLab