knitr::opts_chunk$set(
  echo = TRUE,
  collapse = TRUE,
  comment = "ws#>",
  fig.align = "center"
)
library(MATH4753NEWrasm0015)

Introduction

The first function

myboot2.R - Takes in parameters and returns a histogram. Call:

#Using properly documented dataframe, chose the variabe "DISTANCE"
myboot2(x=firedam$DISTANCE)

The second function

mycltb.R - Takes in parameters and returns a histogram. Call:

#parameters from Lab
mycltb(n=4,iter=10000,p=0.3)

The third function

myNRML.R - Takes in parameters and returns a log likelihood curve and Newton-Raphson Algorithm curve. Call:

myNRML(x0=1,delta=0.000001,llik=function(x) log(dpois(4,x)*dpois(6,x)*dpois(7,x)*dpois(6,x)*dpois(5,x)),xrange=c(0,20),parameter="lambda")

The fourth function

myddt.R - Takes in parameters and returns a plot of DDT data, a .csv file, and list outputs Call:

myddt(ddt, SPECIES = "CCATFISH")


reaganrasmussen/GOODMATH4753repo documentation built on May 12, 2022, 4:38 p.m.