plot.timedeppar {timedeppar} | R Documentation |
Plot results of time-dependent parameter estimation
Description
This function plot Markov chains and marginal densities of constant parameters, distributions of time dependent parameters, and Markov chains and marginal densities of time-dependent parameters at selected points in time.
Usage
## S3 method for class 'timedeppar'
plot(
x,
type = c("traces", "marginals", "summary", "pairs", "time-series", "accept"),
chains.at = numeric(0),
labels = NA,
units = NA,
prob.band = 0.9,
max.diag.plots = 100,
xlim.ts = numeric(0),
n.burnin = 0,
nrow = 4,
nrow.constpar = NA,
nrow.timedeppar = NA,
nrow.diagnostics = NA,
...
)
Arguments
x |
results from the function |
type |
vector of plot types: |
chains.at |
vector of time points at which chains and marginals of time-dependent parameters
should be plotted if |
labels |
optional named vector of expressions to label variables in the plots (names of the expression
have to correspond to the variable names as used by the program, expressions can have special
symbols, e.g. |
units |
optional named vector of expressions to add units to variables in the plots (names of the expression
have to correspond to the variable names as used by the program, expressions can have special
symbols, e.g. |
prob.band |
probability defining the width of the uncertainty bands plotted for output variables (default value: 0.9) |
max.diag.plots |
maximum number of diagnostic plots of inference steps |
xlim.ts |
optional range of time values for time-series plot |
n.burnin |
number of Markov chain points to omit for density and pairs plots (number of omitted points is max(control$n.adapt,n.burnin)). |
nrow |
number of plot rows per page (except for pairs plot). |
nrow.constpar |
number of plot rows per page for traces and marginals (default is nrow). |
nrow.timedeppar |
number of plot rows per page for time-dependent parameters (default is nrow). |
nrow.diagnostics |
number of plot rows per page for diagnostics plots (default is nrow). |
... |
additional arguments passed to the plotting function. |