bootViz: Produce visualizations for boostrap results

Description Usage Arguments Value Examples

View source: R/bootViz.R

Description

This function creates histograms or density plots for results from CalcGTheoryCI

Usage

1
bootViz(.result = NULL, type = c("histogram", "density"), bins = 30)

Arguments

.result

A matrix returned from CalcGTheoryCI.

type

Visualization produced: histogram or density plot. Defaults to histogram.

bins

The number of bins for histograms

Value

A ggplot object containing small multiples.

Examples

1
2
3
4
5
6
7
## Not run: 
data("Brennan.3.1")
set.seed(123)
test_boot <- CalcGTheoryCI(Data = Brennan.3.1, B = 1000, type = "pi")
bootViz(test_boot, type = "density")

## End(Not run)

alanhuebner10/Gboot documentation built on Sept. 4, 2020, 9:51 p.m.