Supplemental R codes for the textbook "Nonparametric Methods in Statistics with SAS Applications" by Dr. Olga Korosteleva.
To update R, RStudio, and installed libraries, follow the steps in this tutorial.
- chapter_codes: R scripts for each section in the book
Note: the code is all based around the tidyverse package
- Tidyverse: collection of R packages designed for data science including
ggplot2
,dplyr
,tidyr
,readr
,purrr
,tibble
,stringr
andforcats
- Tidymodels: collection of packages for modeling and machine learning using
tidyverse
principles includingbroom
,dials
,infer
,modeldata
,parsnip
,recipes
,rsample
,tune
,workflows
, andyardstick
- rstatix: pipe-friendly (tidyverse compatible) framework for performing basic statistical tests
- magrittr: a forward-pipe operator for R
- ggpubr:
ggplot2
based package for elegant data visualization in R - plotly: R graphing library for making interactive, publication-quality graphs
- fANCOVA: collection of R functions to perform nonparametric analysis of covariance for regression curves or surfaces
- fields: tools for spatial data
- gam: functions for fitting and working with generalized additive models
- mgcv: mixed GAM computation vehicle with automatic smoothness estimation
- survival: contains the core survival analysis routines
- survminer: drawing survival curves using
ggplot2
- bootstrap: functions for the book "An Introduction to the Bootstrap"
- R for Data Science: free online book introducing data science in R using
tidyverse
- 3. Data Visualization: introducing plotting with
ggplot2
- 5. Data Transformation: introducing functions used for data transformation and preprocessing in
dplyr
- 11. Tibbles: introducing tibbles, basically the same as a data frame, tibbles are used in the R codes
- 12. Data Import: for importing data into a tibble using
readr
- 18. Pipes: shows how to use the pipe,
%>%
and%$%
, operator to string functions together
- 3. Data Visualization: introducing plotting with
- Tidyverse Packages: packages in
tidyverse
with links to their documentations - Tidymodels Packages: packages in
tidymodels
with links to their documentations