GetCIs: Returns credible intervals from an object of class 'ab'.

Description Usage Arguments Value Examples

Description

Returns credible intervals from an object of class ab.

Usage

1
GetCIs(object, only.sig = FALSE, percent.change = TRUE, metrics)

Arguments

object

An object of class ab.

only.sig

If TRUE, returns only confidence intervals associated to tests that are statistically significant after multiple testing correction.

percent.change

If TRUE, returns credible intervals for the percent change. If FALSE, returns credible intervals for the difference.

metrics

The names of the metrics to get. If missing, all metrics are returned.

Value

A data.frame with the credible intervals, the point estimate and the metric name.

Examples

1
2
3
data <- SampleData(n.metrics = 20)
ans <- PrePost(data)
GetCIs(ans)

google/abpackage documentation built on May 8, 2019, 11:44 a.m.