Description Usage Arguments Value Author(s) See Also Examples
A function to build a matrix or dataframe of parameter estimates in a runjags
or coda
model object.
The function gets the mean, median, standard deviation, and lower and upper 95
for route-level (ij) or month-level (ijt).
1 2 3 4 5 6 7 8 9 | get.param.vals(
n.districts,
n.t,
name,
level = "route",
stats,
type = "matrix",
n.cores = 2
)
|
n.districts |
Number of districts in model |
n.t |
Number of months or other time interval |
name |
Name of the parameter as it is in the model output |
level |
The hierarchical level of the model that correpsonds to |
stats |
Expects statistics output of |
type |
Return a matrix or dataframe (default = 'matrix') |
n.cores |
Number of cores to use in parallel computation |
If level = 'route', a list containing two matrices named mean
and sd
.
If level = 'month', a list containing two 3-dimensional arrays named mean
and sd
.
John Giles
Other model processing:
calc.decay.stats()
,
mob.data.array.pop.level()
,
mob.data.array.route.level()
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.