README.md

statextra

Statistical Tools and Convenience Functions

Description

A few utilities for generating, analyzing, and plotting probabilistic/statistical data.

Contents

  1. confbars for plotting confidence intervals on linear models
  2. roller for rolling any-sided dice any number of times apiece
  3. Installation
  4. Contact the author

1. confbars

Add confidence bars to linear model plots

confbars(model, xbounds=range(model$model[,2]), level=.95, ...)

Example Usage

confbars(mod1, lty=2, col='red')

2. roller

Roll any number of dice any number of times apiece

roller(sides_vec, rolls_vec)

Example Usage

> roller(c(6,12,20), 1:3)
$`6-sided`
[1] 5

$`12-sided`
[1] 12 11

$`20-sided`
[1]  3 18 20

6. Installation

# devtools lets you install packages from GitHub:
install.packages('devtools')
library(devtools)

# then it's this simple:
install_github('vlahm/statextra')
library(statextra)

7. Contact the author

Mike Vlah: + vlahm13@gmail[dot]com + (linkedin.com/in/michaelvlah)



vlahm/statextra documentation built on May 3, 2019, 6:16 p.m.