# R Base Functions

Base functions are a set of functions in the R programming language that are included in the base package, which is automatically installed and loaded when the R problem executes.…

# R head() & tail() Functions

What is the head() and tail() functions do in R? The head() in R is used to get the first rows of the DataFrame, Vector, or compatible object. The tail()…

# R with() and within() Functions

What are with() and within() functions in R and how to use them? These two functions take the DataFrame and expression as input and evaluate the expression with the data…

# Calculate Statistical mode in R

How to get mode in R? If you are new to R Programming you may not find the mode function in R as this is not present as part of…

# Calculate the Median in R

How to calculate the median of a DataFrame column or a Vector in R? The median() is a base function in R that is used to calculate the median of…

# Calculate Mean or Average in R

The mean() is a generic function in R that is used to calculate the arithmetic mean or average of a Vector or DataFrame column. This function accepts a vector as…

# Run R for Loop in Parallel

How to run R for loop in parallel? In any programming, loops are used to execute the statements repeatedly. As your code within the loop gets complex, the loops may…

# R Apply Function to Vector

How to apply a function to each element of R Vector? R Programming provides several functions to apply or call a function to each element of a vector, for example,…

# FUN in R – Usage with Example

FUN translates to function in R, in most cases it is used when you wanted to apply a function over a List or Vector. You will find this in many…

# names() Function in R with Examples

The names() function in R is used to get or set the name of an object. The object can be a list, vector, matrix, and DataFrame. Use names(x) to get…