clu: center-lower-upper table

View source: R/coefficient_extraction.R

cluR Documentation

center-lower-upper table

Description

returns a summary table for estimates with median (center) and 95

Usage

clu(object, ...)

assert_clu(x)

## S3 method for class 'tbl_post'
clu(
  object,
  model = unique(object$model),
  mean.func = identity,
  estimate = median,
  interval = 0.95
)

## S3 method for class 'data.frame'
clu(df, ...)

## S3 method for class 'MCMCglmm'
clu(object, ...)

## S3 method for class 'brmsfit'
clu(object, ...)

## S3 method for class 'stanfit'
clu(object, ...)

## S3 method for class 'stanreg'
clu(object, ...)

## S3 method for class 'glmerMod'
clu(
  model,
  mean.func = identity,
  model_name = as.character(deparse(substitute(model))),
  interval = 0.95
)

## S3 method for class 'tbl_clu'
print(x, ...)

## S3 method for class 'tbl_clu'
knit_print(x, ...)

Arguments

object

tbl_post (brms, MCMCglmm) object holding the posterior in long format

...

ignored

model

name of model

mean.func

function (identity)

estimate

function for computing the center estimate (posterior mode)

interval

credibility interval: .95

Value

CLU table (tbl_clu) with parameter name, estimate and interval.

Author(s)

Martin Schmettow


schmettow/bayr documentation built on March 23, 2024, 7:49 p.m.