knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(package1)

Introduction

This package contains various of packages made and used in the University of Oklahoma's MATH 4753 course. The functions are listed and described below.

Functions

binx()

The binx() function creates a barplot of successes in a binomial experiment

a = binx(n = 20, iter = 10000, p = 0.25)

myclt()

The myclt() function creates a random sample and uses it to make a histogram. The function conforms to the central limit theorem.

b = myclt(10, 10000)

myncurve()

The myncurve() function creates a normal probability distribution.

c = myncurve(5, 20, 0.5)

rf.hist()

The rf.hist() function creates a Relative Frequency Histogram using data from a given vector.

f = fire$DAMAGE
d = rf.hist(f, bins = 8)


uknguyen/package1 documentation built on Dec. 31, 2020, 9:41 a.m.