Description Usage Arguments Value Examples
Fits SECR models on different cores within a cluster.
1 | par.admbsecr(n.cores, ..., arg.list = NULL)
|
n.cores |
A positive integer representing the number of cores to use for parallel processing. |
... |
Lists with components comprising arguments for a call to admbsecr. Component names must be the argument names. |
arg.list |
Alternatively, a list with components comprising the lists of arguments, as above. |
A list, where components are objects returned by
admbsecr. There is one component for each list of arguments
provide in ...
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
## Running the examples in the admbsecr() documentation in parallel.
simple.capt <- example$capt["bincapt"]
simple.hn.args <- list(capt = simple.capt, traps = example$traps,
mask = example$mask, fix = list(g0 = 1))
simple.hr.args <- list(capt = simple.capt, traps = example$traps,
mask = example$mask, detfn = "hr")
bearing.capt <- example$capt[c("bincapt", "bearing")]
bearing.hn.args <- list(capt = bearing.capt, traps = example$traps,
mask = example$mask, fix = list(g0 = 1))
## This will only run if you have 4 cores available, you may need
## to alter n.cores as appropriate.
fits <- par.admbsecr(n.cores = 4, simple.hn.args, simple.hr.args,
bearing.hn.args)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.