These datasets were compiled or acquired by Dr. Thomley from various sources. More information is provided for some datasets under the description link beside the filename. Click on the dataset name to see the CSV file and get its URL.
# to read into RStudio using a url
datasetname <- read.csv("URL HERE") # base code, creates a data frame
datasetname <- read_csv("URL HERE") # tidyverse, creates a tibble, requires readr package
These datafiles come from Chihara, L. and Hesterberg, T. (2018). Mathematical
Statistics with Resampling and R, 2nd Edition. New Jersey: John
Wiley & Sons. They are also available in the
resampledata
package. More information is provided for some
datasets under the description link beside the
filename. Click on the dataset name to see the CSV file and get its
URL.
# to read into RStudio using a url
# then assign dataset to an object
datasetname <- read.csv("URL HERE") # base code, creates a data frame
datasetname <- read_csv("URL HERE") # tidyverse, creates a tibble, requires readr package
# to read from resampledata package
# then assign dataset to an object
library(resampledata)
datasetname <- datasetname
Example: flightdelays <- FlightDelays
These datasets were compiled or acquired by Dr. Thomley from Jeremy Balka’s JB Statistics and Brandon Foltz’s Stats 101 videos. More information is provided for some datasets under the description link beside the filename. Click on the dataset name to see the CSV file and get its URL.
# to read into RStudio using a url
datasetname <- read.csv("URL HERE") # base code, creates a data frame
datasetname <- read_csv("URL HERE") # tidyverse, creates a tibble, requires readr package
sessionInfo()
## R version 4.2.3 (2023-03-15)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Red Hat Enterprise Linux 9.3 (Plow)
##
## Matrix products: default
## BLAS/LAPACK: /usr/lib64/libopenblasp-r0.3.21.so
##
## locale:
## [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
## [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
## [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
## [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
## [9] LC_ADDRESS=C LC_TELEPHONE=C
## [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
##
## attached base packages:
## [1] stats graphics grDevices utils datasets methods base
##
## loaded via a namespace (and not attached):
## [1] digest_0.6.34 R6_2.5.1 lifecycle_1.0.4 jsonlite_1.8.8
## [5] evaluate_0.23 cachem_1.0.8 rlang_1.1.3 cli_3.6.1
## [9] rstudioapi_0.15.0 jquerylib_0.1.4 bslib_0.6.1 rmarkdown_2.25
## [13] tools_4.2.2 xfun_0.41 yaml_2.3.8 fastmap_1.1.1
## [17] compiler_4.2.2 htmltools_0.5.7 knitr_1.45 sass_0.4.8