coef_summary: Computes mean and optional quantiles for a coefficient.

Description Usage Arguments Value Examples

View source: R/coef_summary.R

Description

Computes mean and optional quantiles for a coefficient.

Usage

1
coef_summary(coef_name, coef_matrix, probs)

Arguments

coef_name

String, name of the coefficient.

coef_matrix

Numeric matrix samplesN x 2 or a numeric vector with length samplesN.

probs

A numeric vector of quantiles to compute.

Value

data.frame with columns "Coef", "Mean", and a column for each quantile.

Examples

1
coef_summary("test", c(1, 2, 3), NULL)

TriDimRegression documentation built on May 4, 2021, 9:08 a.m.