knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(MATH4753.0231)
This package contains several functions accumulated over the time spent completing the applied statistics course, MATH4753. It contains two sets of data as well as 8 functions. Of the 8 functions included, 6 return plots of various data, one returns a probability when given a negative binomial distribution, and one returns the working directory.
head(ddt)
head(fire)
Returns the working directory.
mygetwd()
Returns the probability of the number of successes based on a negative binomial distribution.
mynbin(10, 3, 0.4)
Returns a histogram of the distribution of the sampled data from the population. On the histogram is a labeled confidence interval.
myboot2(iter = 10000, x = ddt$DDT, fun = "var", alpha = 0.2)
Returns a plot of the shape of the sample distribution taken randomly from a uniform distribution.
myclt(n = 20, iter = 100000, a = 0, b = 10)
Returns a graphical likelihood of a probability based on a supplied likelihood function.
mymaxlikg(lfun = "log", theta = seq(0,1,length=1000))
Returns a plot and numerical value for the probability of a given number of successes for a normal distribution.
myncurve(10, 4, 3)
Returns a scatter plot histogram based on two given parameters and their respective labels.
scatterhist(ddt$LENGTH, ddt$WEIGHT, xlab = "Length", ylab = "Weight")
Returns a plot of the length vs. the weight of a given species, color coded by river. Also returns the entire data frame, the subsetted data frame, and a RIVER relative frequency table.
myddt(df = ddt, SPECIES = "CCATFISH")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.