Rstats 101
  • Home
  • LLM
  • dplyr
  • tidyr
  • ggplot2
  • Statistics
  • How-To
  • Base R

Base R Tutorials

Learn fundamental R programming with base R - the core functions and data structures that form the foundation of R.

How to drop unused level of factor variable in R

Learn how to perform drop unused level of factor variable in R. Step-by-step statistical tutorial with examples.

How to generate random numbers with runif() in R

Learn generate random numbers with runif() in r with clear examples and explanations.

How to use aggregate in R

Master aggregate in R programming with clear examples. Complete tutorial covering syntax, use cases, and best practices.

How to use apply in R

Master apply in R programming with clear examples. Complete tutorial covering syntax, use cases, and best practices.

How to use data.frame in R

Learn how to perform use data.frame in R. Step-by-step statistical tutorial with examples.

How to use factor in R

Master factor in R programming with clear examples. Complete tutorial covering syntax, use cases, and best practices.

How to use for loop in R

Learn how to perform use for loop in R. Step-by-step statistical tutorial with examples.

How to use function in R

Master function in R programming with clear examples. Complete tutorial covering syntax, use cases, and best practices.

How to use if else in R

Learn how to perform use if else in R. Step-by-step statistical tutorial with examples.

How to use lapply in R

Master lapply in R programming with clear examples. Complete tutorial covering syntax, use cases, and best practices.

How to use list in R

Master list in R programming with clear examples. Complete tutorial covering syntax, use cases, and best practices.

How to use mapply in R

Master mapply in R programming with clear examples. Complete tutorial covering syntax, use cases, and best practices.

How to use matrix in R

Master matrix in R programming with clear examples. Complete tutorial covering syntax, use cases, and best practices.

How to use merge in R

Master merge in R programming with clear examples. Complete tutorial covering syntax, use cases, and best practices.

How to use order in R

Master order in R programming with clear examples. Complete tutorial covering syntax, use cases, and best practices.

How to use read.csv in R

Learn how to perform use read.csv in R. Step-by-step statistical tutorial with examples.

How to use sapply in R

Master sapply in R programming with clear examples. Complete tutorial covering syntax, use cases, and best practices.

How to use subset in R

Master subset in R programming with clear examples. Complete tutorial covering syntax, use cases, and best practices.

How to use tapply in R

Master tapply in R programming with clear examples. Complete tutorial covering syntax, use cases, and best practices.

How to use vector in R

Master vector in R programming with clear examples. Complete tutorial covering syntax, use cases, and best practices.

How to use while loop in R

Learn how to perform use while loop in R. Step-by-step statistical tutorial with examples.

How to use write.csv in R

Learn how to perform use write.csv in R. Step-by-step statistical tutorial with examples.

No matching items

Featured Tutorial

Introduction to Mixed Effects Models

Learn when and why to use mixed models for longitudinal data with lme4

Browse by Topic

dplyr

59 tutorials

Data manipulation with filter, select, mutate, joins & more

tidyr

22 tutorials

Reshape data with pivot_wider, pivot_longer, separate & unite

ggplot2

22 tutorials

Create beautiful visualizations with the grammar of graphics

Statistics

31 tutorials

T-tests, ANOVA, regression, correlation & more

How-To

53 tutorials

Practical guides for common R tasks

Base R

21 tutorials

Core R programming fundamentals

Copyright 2025 Rstats101. All rights reserved.

 
  • About

  • Privacy Policy