FIRSTLY WE LOAD ALL THE NECESSARY LIBRARIES

and also our dataset

library(ggplot2)
library(reshape2)
library(dplyr)
## 
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
library(gridExtra)
## 
## Attaching package: 'gridExtra'
## The following object is masked from 'package:dplyr':
## 
##     combine
library(boot)
library(pwr)
library(readr)
 dive <- read_csv("dive.csv")

``` ## Rows: 1904 Columns: 14 ## ── Column specification ─────────