R Guides

R GuidesCharts
Bar Charts in R
How to Plot Multiple Boxplots in One Chart in R
How to Make a Pie Chart in R
How to Create a Strip Chart in R
How to Plot a Normal Distribution in R
How to Easily Plot a Chi-Square Distribution in R
How to Plot Multiple Lines (data series) in One Chart in R
How to Create a Gantt Chart in R Using ggplot2
How to Create a Heatmap in R Using ggplot2
How to Create a Lollipop Chart in R
How to Easily Create a Bump Chart in R Using ggplot2
How to Use the Jitter Function in R for Scatterplots
How to Create Beautiful Violin Plots in R
How to Create a Density Plot in R Using ggplot2
How to Create a Population Pyramid in R
A Quick and Easy Way to Plot a Linear Regression Line in R
How to Easily Add and Modify Titles in ggplot2
How to Use the abline() Function in R to Add Straight Lines to Plots
A Complete Guide to the Best ggplot2 Themes

Probability Distributions
The Uniform Distribution in R
The Geometric Distribution in R
How to Simulate a Poisson Process 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
Working with the Student t Distribution in R: dt(), qt(), pt(), & rt()

Statistical Tests
How to Conduct a Sobel 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 F-Test in R to Compare Two Variances
How to Calculate the P-Value of an F-Statistic in R
A Simple Guide to Polynomial Regression in R
How to Find Confidence Intervals in R
Frequency Tables in R
How to Conduct a One-Way ANOVA in R
How to Conduct a Two-Way ANOVA in R
How to Conduct a MANOVA in R
How to Conduct an ANCOVA in R
How to Conduct an Anderson-Darling Test in R
A Guide to Bartlett’s Test of Sphericity
A Guide to Conducting Chi-Square Tests in R
How to Easily Calculate (And Interpret) Partial Correlations in R
A Complete Guide to Stepwise Regression in R
How to Easily Calculate the Interquartile Range in R
A Gentle Introduction to Poisson Regression for Count Data
How to Calculate Standard Deviation in R: Explanation & Examples
How to Find the Standard Error of the Mean in R
How to Easily Calculate Variance Inflation Factor (VIF) in R
A Simple Guide to Multiple Linear Regression 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 Create & Interpret a Q-Q Plot in R
How to Easily Conduct a Paired t-test in R
How to Perform Cross Validation for Model Performance in R
How to Create a Prediction Interval for Linear Regression in R
How to Easily Conduct a Kruskal-Wallis Test in R

R Operations
An Easy Guide to Writing Functions in R (With Examples)
Filtering a Data Structure in R Using Indexing
How to Get the Subset of a Data Structure in R Using subset()
5 Ways to Create a Vector (and Fill it With Elements) in R
How to Explore a Dataset in R Using Descriptive Statistics
A Guide to apply(), lapply(), sapply(), and tapply() in R
Rounding Numbers in R
How to Deal with Missing Values in R
Regular Expressions in R
Working With Strings in R – paste, paste0, and sprintf
How to Calculate the Mode in R
How to Easily Find the Standard Deviation of Specific Columns in R
ifelse() Function in R
How to Create a For Loop in R and Append Results to a Vector
How to Drop Unused Factor Levels in a Subsetted Data Frame in R
How to Drop Data Frame Columns by Name in R
How to Reshape Data Between Wide and Long Format in R
How to Add an Index (numeric ID) Column to a Data Frame in R
How to Manipulate, Aggregate, and Analyze Data in R Using dplyr
How to Multiply a Matrix by a Vector in R
A Guide to Permutations in R
How to Rename Data Frame Columns in R
How to Find and Remove Duplicate Data in R
How to Add and Delete Rows From a Data Frame in R
cbind in R: How to Column Bind Objects
How to Generate a Sample Using the Sample Function in R
How to Create Date Sequences in R
A Guide to Counting Elements in R
How to Efficiently Convert a Factor to Numeric or Integer in R
How to Normalize Data in R
How to Use Merge() to Easily Join Two Data Frames in R
A Simple Introduction to While Loops in R (With Examples)
How to Use Mutate to Create New Variables in R

Debugging
How to Find the Package Version Currently Loaded in R

Interpreting Errors in R: ‘max’ not meaningful for factors