| phmc_methods | R Documentation |
Provides summary, printing, extraction, and diagnostic plotting
methods for objects returned by phmc.
## S3 method for class 'phmc'
print(x, ...)
## S3 method for class 'phmc'
summary(object, ...)
## S3 method for class 'summary.phmc'
print(x, ...)
## S3 method for class 'phmc'
coef(object, ...)
## S3 method for class 'phmc'
vcov(object, ...)
## S3 method for class 'phmc'
logLik(object, ...)
## S3 method for class 'phmc'
plot(x, type = c("all", "trace", "acf", "density"), par_indices = NULL, ...)
x |
An object of class |
... |
Additional arguments passed to generic methods. |
object |
An object of class |
type |
Character string specifying plot type: |
par_indices |
Optional integer vector specifying parameter indices to plot. |
Depending on the S3 method invoked, returns the following:
print.phmcInvisibly returns the input object x of class "phmc" (called for its side effect of printing summary metrics to the console).
summary.phmcReturns an object of class "summary.phmc", which is a list containing model parameter estimates, acceptance rate, log-likelihood, information criteria (AIC, BIC, DIC), elapsed time, and regularization parameter lambda_g.
print.summary.phmcInvisibly returns the input object x of class "summary.phmc" (called for its side effect of printing detailed summary results to the console).
coef.phmcReturns a named numeric vector of class "numeric" containing posterior mean parameter estimates.
vcov.phmcReturns a numeric matrix of class "matrix" containing the empirical posterior variance-covariance matrix of the MCMC parameter draws.
logLik.phmcReturns an object of class "logLik" representing the log-likelihood value evaluated at the MAP estimate, with attributes "df" (number of estimated parameters) and "nobs" (number of retained MCMC draws).
plot.phmcInvisibly returns the input object x of class "phmc" (called for its side effect of generating diagnostic MCMC trace plots, autocorrelation functions, and posterior density curves).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.