coef_summary: Computes mean and optional quantiles for a coefficient.

View source: R/coef_summary.R

coef_summaryR Documentation

Computes mean and optional quantiles for a coefficient.

Description

Computes mean and optional quantiles for a coefficient.

Usage

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

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

TriDimRegression documentation built on Sept. 13, 2023, 5:07 p.m.