View source: R/postprocessing.R
posteriorcov | R Documentation |
A function to produce a plot of the posterior covariance function with upper and lower quantiles.
posteriorcov(
x,
probs = c(0.025, 0.5, 0.975),
rmax = NULL,
n = 100,
plot = TRUE,
bw = FALSE,
corr = FALSE,
...
)
x |
an object of class mcmcspatsurv |
probs |
vector of probabilities to be fed to quantile function |
rmax |
maximum distance in space to compute this distance up to |
n |
the number of points at which to evaluate the posterior covariance. |
plot |
whether to plot the result |
bw |
Logical. Plot in black/white/greyscale? Default is to produce a colour plot. Useful for producing plots for journals that do not accept colour plots. |
corr |
logical whether to return the correlation function, default is FALSE i.e. returns the covariance function |
... |
other arguments to be passed to matplot function |
produces a plot of the posterior spatial covariance function.
print.mcmcspatsurv, quantile.mcmcspatsurv, summary.mcmcspatsurv, vcov.mcmcspatsurv, frailtylag1, spatialpars, hazardpars, fixedpars, randompars, baselinehazard, predict.mcmcspatsurv, priorposterior, MCE, hazardexceedance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.