print.nma_summary {multinma} | R Documentation |
Methods for nma_summary
objects
Description
The as.data.frame()
, as_tibble()
, and as.tibble()
methods return the
posterior summary statistics in a data frame or tibble. The as.matrix()
method returns a matrix of posterior draws. The as.array()
method returns a
3D array [Iteration, Chain, Parameter] of posterior draws (as class
mcmc_array).
Usage
## S3 method for class 'nma_summary'
print(x, ..., digits = 2, pars, include = TRUE)
## S3 method for class 'nma_summary'
as.data.frame(x, ...)
## S3 method for class 'nma_summary'
as.tibble(x, ...)
## S3 method for class 'nma_summary'
as_tibble(x, ...)
## S3 method for class 'nma_summary'
as.array(x, ...)
## S3 method for class 'nma_summary'
as.matrix(x, ...)
## S3 method for class 'nma_rank_probs'
as.array(x, ...)
## S3 method for class 'nma_rank_probs'
as.matrix(x, ...)
Arguments
x |
A |
... |
Additional arguments passed on to other methods |
digits |
Integer number of digits to display |
pars |
Character vector of parameters to display in the printed summary |
include |
Logical, are parameters named in |
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.
See Also
[Package multinma version 0.7.1 Index]