The print() method prints details of DIC model fit statistics, computed by
the dic() function. The as.data.frame(), as_tibble(), and as.tibble() methods return the
pointwise contributions to the DIC and $p_D$ in a data frame or tibble. The as.array() and as.matrix()
methods returns a 3D MCMC array (as class mcmc_array) or matrix of posterior draws of the residual deviances.
Usage
# S3 method for class 'nma_dic'
print(x, digits = 1, ...)
# S3 method for class 'nma_dic'
as.data.frame(x, ...)
# S3 method for class 'nma_dic'
as.tibble(x, ...)
# S3 method for class 'nma_dic'
as_tibble(x, ...)
# S3 method for class 'nma_dic'
as.array(x, ...)
# S3 method for class 'nma_dic'
as.matrix(x, ...)Arguments
- x
An object of class nma_dic
- digits
Integer number of digits to display
- ...
Additional arguments passed on to other methods
Value
A data.frame for as.data.frame(), a tbl_df for as.tibble()
and as_tibble(), a matrix for as.matrix(), and an mcmc_array for
as.array().
The print() method returns x invisibly.