# Category: R Programming

#### Factors in R With Examples [Latest]

In this tutorial, we’ll move on to understanding factors in R programming. One operation we perform frequently in data science is the estimation of a variable based upon the model…

#### Data types in R With Examples [Latest]

Before we delve deeper into R programming, it is important to understand the various data types used in R. R has the following basic data types: Character Numeric Integer Logical…

#### How to round the numbers off using round() in R With Example [Latest]

Rounding off the numbers can be achieved with round() in R. Round is one of the best ways to make numerical values more meaningful and to get more precise results…

#### String in R – Function and its operations With Examples [Latest]

Strings are generally a one-dimensional (1D) arrays that contain single or multiple values in it. Strings can include character data, numerical data, and any special characters as well. Strings in…

#### How to convert the case of a string in R? With Examples [Latest]

Hello, folks. In this tutorial we are going to convert the case of the string in R. The R language offers functions such as tolower(), toupper(), and casefold() to convert…

#### How to find the Median in R With Examples [Latest]

In this tutorial, let’s learn how we can find the median in R. Median is defined as the measurement of central tendency in the data. In simpler terms, you may…

#### How to replace values using replace() in R With Example [Latest]

Replacing a value is very easy, thanks to replace() in R to replace the values. In data analysis, there may be plenty of instances where you have to deal with…

#### How to Use if-else in Shell Scripts?With Examples [Latest]

Moving ahead from our previous tutorial on arrays in shell scripts, let’s understand how we can use if-else in shell scripts. Conditional programming is an important part of any programming…

#### The apply(), sapply(), lapply() and tapply() Functions in R Programming With Examples [Latest]

The family of apply() functions in R is used to apply user-defined functions to the elements of complex structures like matrices, lists or data frames. These functions help a lot…

#### The paste() function in R – A brief guide With Example [Latest]

Using the paste() function in R will be straight and simple. In this tutorial let’s see how we can use paste() to concatenate the strings and values. paste(): Takes multiple…