Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


multinma (version 0.8.0)

print.nma_dic: Methods for nma_dic objects

Description

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 nma_dic
print(x, digits = 1, ...)

# S3 method for nma_dic as.data.frame(x, ...)

# S3 method for nma_dic as.tibble(x, ...)

# S3 method for nma_dic as_tibble(x, ...)

# S3 method for nma_dic as.array(x, ...)

# S3 method for nma_dic as.matrix(x, ...)

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.

Arguments

x

An object of class nma_dic

digits

Integer number of digits to display

...

Additional arguments passed on to other methods

See Also

dic(), plot.nma_dic()