## While Loop in R with Examples

The while loop in R is a control statement found in any programming language, used…

Comments Off on While Loop in R with Examples

## Looping in R (for, while, repeat)

R supports three looping statements for, while, and repeat loops. Looping or loops are control…

Comments Off on Looping in R (for, while, repeat)

## For Loop in R With Examples

The for loop in R is used to repeatedly execute a set of statements or…

Comments Off on For Loop in R With Examples

## R solve() Equation with Examples

R solve() is a generic function that solves the linear algebraic equation a %*% x =…

Comments Off on R solve() Equation with Examples

## Pipe in R with Examples

Pipe %>% in R is the most used operator that was introduced in magrittr package by Stefan…

Comments Off on Pipe in R with Examples

## R lm() Function – Fitting Linear Models

R lm() function stands for linear models that is used to fit linear regression models.…

Comments Off on R lm() Function – Fitting Linear Models

## %NOTIN% Operator in R

There is no such %notin% (not in) operator in R however, you can negate the…

Comments Off on %NOTIN% Operator in R

## Usage of %in% Operator in R

The %in% operator in R is used to check if the values of the first…

Comments Off on Usage of %in% Operator in R

## Usage of Dollar (\$) in R

What is dollar \$ in R code and how to use it? Dollar sign \$…

Comments Off on Usage of Dollar (\$) in R

## Dates and Times in R with Examples

Times in R are represented by the POSIXct or POSIXlt class and Dates are represented by the Date class. The…

Comments Off on Dates and Times in R with Examples