This page lists every R tutorial on Statology.

**Import & Export Data**

**How to Manually Enter Raw Data in R
How to Import CSV Files into R
How to Import Excel Files into R
How to Export a Data Frame to a CSV File in R
How to Export a Data Frame to an Excel File in R
**

**Descriptive Statistics**

**How to Calculate Z-Scores in R
How to Calculate Partial Correlation in R
How to Calculate Point-Biserial Correlation in R
How to Calculate Correlation Between Multiple Variables in R
How to Create a Covariance Matrix in R
How to Calculate Variance in R
How to Remove Outliers in R
How to Calculate the Standard Error of the Mean in R
How to Perform a COUNTIF Function in R
How to Average Across Columns in R
How to Sum Specific Columns in R
How to Calculate the Mean of Multiple Columns in R
How to Calculate the Mean by Group in R
How to Calculate a Weighted Mean in R
How to Calculate Cumulative Sums in R
How to Calculate the Dot Product in R
How to Calculate Cosine Similarity in R
How to Calculate Euclidean Distance in R
How to Calculate Hamming Distance in R
How to Calculate Levenshtein Distance in R
How to Calculate Manhattan Distance in R
How to Calculate Minkowski Distance in R
How to Calculate Mahalanobis Distance in R
How to Calculate Jaccard Similarity in R
How to Calculate Autocorrelation in R
How to Calculate Rolling Correlation in R
How to Create Frequency Tables in R
How to Find the Range in R
How to Calculate Skewness & Kurtosis in R
How to Find and Visualize Quartiles in R
How to Perform Bootstrapping in R
How to Find Confidence Intervals in R
How to Create a Contingency Table in R
**

**Visualizations
**

**How to Plot Multiple Boxplots in One Chart in R**

How to Create a Strip Chart in R

How to Plot Multiple Lines (data series) in One Chart in R

How to Create a Lollipop Chart in R

How to Use the Jitter Function in R for Scatterplots

How to Create a Population Pyramid in R

How to Use the abline() Function in R to Add Straight Lines to Plots

How to Create a Relative Frequency Histogram in R

How to Create a Scatterplot with a Regression Line in R

How to Create and Interpret Pairs Plots in R

How to Plot a Confidence Interval in R

How to Plot Multiple Columns in R

How to Remove Outliers in Boxplots in R

How to Create Radar Charts in R

How to Create a Stacked Barplot in R

How to Create a Grouped Barplot in R

How to Create a Stacked Dot Plot in R

How to Create a Strip Chart in R

How to Plot Multiple Lines (data series) in One Chart in R

How to Create a Lollipop Chart in R

How to Use the Jitter Function in R for Scatterplots

How to Create a Population Pyramid in R

How to Use the abline() Function in R to Add Straight Lines to Plots

How to Create a Relative Frequency Histogram in R

How to Create a Scatterplot with a Regression Line in R

How to Create and Interpret Pairs Plots in R

How to Plot a Confidence Interval in R

How to Plot Multiple Columns in R

How to Remove Outliers in Boxplots in R

How to Create Radar Charts in R

How to Create a Stacked Barplot in R

How to Create a Grouped Barplot in R

How to Create a Stacked Dot Plot in R

**Probability Distributions**

**The Uniform Distribution in R
How to Fit a Gamma Distribution to a Dataset in R
A Guide to dnorm, pnorm, rnorm, and qnorm in R
A Guide to dbinom, pbinom, qbinom, and rbinom in R
A Guide to dpois, ppois, qpois, and rpois in R
A Guide to dgeom, pgeom, qgeom, and rgeom in R
A Guide to dt, qt, pt, & rt in R
How to Calculate Sampling Distributions in R
How to Plot a Normal Distribution in R
How to Plot a Chi-Square Distribution in R
How to Plot a t Distribution in R
How to Plot a Log Normal Distribution in R
How to Plot a Binomial Distribution in R
How to Plot a Poisson Distribution in R
How to Plot a Weibull Distribution in R
How to Calculate the P-Value of an F-Statistic in R
How to Calculate the P-Value of a Chi-Square Statistic in R
How to Calculate the P-Value of a T-Score in R
How to Calculate the P-Value of a Z-Score in R
How to Find the F Critical Value in R
How to Find the Chi-Square Critical Value in R
How to Find t Critical Values in R
How to Find Z Critical Values in R
**

**Sampling Methods**

**Stratified Sampling in R
Cluster Sampling in R
Systematic Sampling in R
**

**Hypothesis Tests**

**How to Conduct a Sobel Test in R
How to Perform a One Proportion Z-Test in R
How to Conduct Fisher’s Exact Test in R
How to Conduct a Jarque-Bera Test in R
A Guide to Permutation Tests
How to Conduct an Anderson-Darling Test in R
A Guide to Bartlett’s Test of Sphericity
How to Calculate Standard Deviation in R
How to Calculate the Coefficient of Variation in R
How to Identify Influential Data Points Using Cook’s Distance
How to Conduct Levene’s Test for Equality of Variances in R
How to Perform an F-Test in R
How to Create & Interpret a Q-Q Plot in R
How to Easily Conduct a Paired t-test in R
How to Perform Welch’s t-Test in R
How to Perform the Wilcoxon Signed-Rank Test in R
How to Perform a Mann-Whitney U Test in R
How to Perform a Mann-Kendall Trend Test in R
How to Perform McNemar’s Test in R
How to Perform Grubbs’ Test in R
How to Perform a Binomial Test in R
How to Perform Mood’s Median Test in R
How to Perform Runs Test in R
How to Perform Multivariate Normality Tests in R
How to Perform a Shapiro-Wilk Test in R
How to Perform a Kolmogorov-Smirnov Test in R
How to Perform a Correlation Test in R
How to Perform a Chi-Square Test of Independence in R
How to Perform a Chi-Square Goodness of Fit Test in R
How to Perform a Likelihood Ratio Test in R
How to Calculate Cramer’s V in R
How to Calculate a Phi Coefficient in R
How to Perform a Chow Test in R
How to Perform a Granger-Causality Test in R
**

**Regression**

**How to Perform Cross Validation for Model Performance in R
How to Create a Prediction Interval for Linear Regression in R
How to Perform Multiple Linear Regression in R
How to Perform Quadratic Regression in R
How to Perform Quantile Regression in R
How to Perform Polynomial Regression in R
How to Perform Stepwise Regression in R
How to Perform Weighted Least Squares Regression in R
How to Interpret Regression Output in R
How to Calculate Variance Inflation Factor (VIF) in R
A Gentle Introduction to Poisson Regression for Count Data
How to Perform a Durbin-Watson Test in R
How to Perform a Breusch-Pagan Test in R
How to Perform White’s Test in R
How to Perform the Goldfeld-Quandt Test in R
How to Create a Residual Plot in R
How to Calculate Residual Standard Error in R
How to Perform a Box-Cox Transformation in R
How to Find Coefficient of Determination (R-Squared) in R
How to Calculate Adjusted R-Squared in R
How to Interpret a Scale-Location Plot in R
How to Calculate Studentized Residuals in R
How to Calculate Standardized Residuals in R
How to Calculate Leverage Statistics in R
How to Calculate DFFITS in R
How to Calculate DFBETAS in R
How to Plot Multiple Linear Regression Results in R
How to Calculate Residual Sum of Squares in R
How to Create a Histogram of Residuals in R
**

**ANOVA**

**How to Conduct a One-Way ANOVA in R
How to Conduct a Two-Way ANOVA in R
How to Conduct a Repeated Measures ANOVA in R
How to Conduct a MANOVA in R
How to Conduct an ANCOVA in R
How to Conduct a Kruskal-Wallis Test in R
How to Perform the Friedman Test in R
How to Create an Interaction Plot in R
How to Perform Tukey’s Test in R
How to Perform a Brown–Forsythe Test in R
How to Perform a Bonferroni Correction in R
How to Perform Scheffe’s Test in R
How to Perform Dunnett’s Test in R
How to Perform Dunn’s Test in R
How to Calculate Eta Squared in R
**

**Time Series**

**How to Calculate MAPE in R
How to Calculate RMSE in R
How to Calculate MSE in R
How to Calculate MAD in R
How to Plot a Time Series in R
How to Calculate an Exponential Moving Average in R
How to Aggregate Daily Data to Monthly and Yearly in R
How to Extract Year from Date in R
How to Subset by a Date Range in R
**

**R Operations**

**A Guide to apply(), lapply(), sapply(), and tapply() in R
How to Add an Index (numeric ID) Column to a Data Frame in R
How to Rename Data Frame Columns in R
How to Generate a Sample Using the Sample Function in R
How to Normalize Data in R
How to Standardize Data in R
Interpreting Errors in R: ‘max’ not meaningful for factors
How to Handle “undefined columns selected” in R
How to Convert a List to a Data Frame in R
How to Remove Rows with Some or All NAs in R
Comparing grep() vs. grepl() in R: What’s the Difference?
How to Print All Rows of a Tibble in R
How to Switch Two Columns in R
How to Remove Outliers from Multiple Columns in R
How to Stack Data Frame Columns in R
How to Combine Two Columns into One in R
How to Loop Through Column Names in R
How to Compare Two Columns in R
How to Delete Multiple Columns in R
How to Impute Missing Values in R
How to Transform Data in R
How to Create an Empty Data Frame in R
How to Append Rows to a Data Frame in R
How to Delete Data Frames in R
How to Perform a VLOOKUP (Similar to Excel) in R
How to Remove Dollar Signs in R
How to Create Tables in R
How to Create a Nested For Loop in R
How to Select Random Samples in R
How to Generate a Normal Distribution in R
How to Use xtabs() in R to Calculate Frequencies
How to Retrieve Row Numbers in R
How to Sort a Data Frame by Date in R
How to Convert Strings to Dates in R
How to Convert Numbers to Dates in R
How to Interpret Significance Codes in R
How to Change Row Names in R
How to Center Data in R
How to Sum Specific Rows in R
How to Write a Nested If Else Statement in R
How to Use cbind in R
**

**The Tidyverse**

The **tidyverse** is a collection of R packages specifically designed for data science. The following tutorials explain how to use various functions in these packages.

**dplyr **– A package designed for manipulating data.

**How to Arrange Rows in R
How to Count Observations by Group in R
How to Remove Duplicate Rows in R
How to Filter Rows in R
How to Remove Columns in R
How to Use Mutate to Create New Variables in R
How to Recode Values in R
How to Rename Columns in R
How to Reorder Columns in R
How to Group & Summarize Data in R
How to Find the Maximum Value by Group in R
How to Join Multiple Data Frames Using dplyr
How to Calculate Relative Frequencies Using dplyr
How to Select the First Row by Group Using dplyr
How to Create New Variables in R with mutate() and case_when()
**

**ggplot2 **– A package designed for visualizing data.

**A Complete Guide to the Best ggplot2 Themes
The Complete Guide to ggplot2 Titles
How to Change the Legend Title in ggplot2
How to Change Legend Size in ggplot2
How to Create Side-by-Side Plots in ggplot2
How to Set Axis Limits in ggplot2
How to Create a Bump Chart in R Using ggplot2
How to Create a Gantt Chart in R Using ggplot2
How to Create a Heatmap in R Using ggplot2
How to Make Pie Charts in ggplot2
How to Create a Grouped Boxplot in R Using ggplot2
How to Create a Barplot in ggplot2 with Multiple Variables
How to Order the Bars in a ggplot2 Bar Chart
How to Plot a Linear Regression Line in ggplot2
How to Plot a Regression Line by Group with ggplot2
How to Add a Vertical Line to a Plot Using ggplot2
How to Create a Log Scale in ggplot2
How to Create Smooth Lines in ggplot2
How to Plot a ROC Curve Using ggplot2
How to Assign Colors by Factor in ggplot2
**