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 Plot a Normal 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

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

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

R Operations
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 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

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