# outer() Function in R with Examples

The outer() in R is used to apply the function to two arrays or vectors to get the result in a Matrix. In this article, I will explain the syntax…

# Running Time of R Code & Function

We are often required to measure the running time of an R code or timing of a function. You can get the timing in R using several methods. For example,…

# R Summarise on Group By in Dplyr

How to use summarise on group by DataFrame in R? The summarise() or summarize() functions performs the aggregations on grouped data, so in order to use these functions first, you…

# R Group by Mean With Examples

How to group by mean in R? By using aggregate() from R base or group_by() function along with the summarise() from the dplyr package you can do the group by on dataframe…

# R Group by Sum With Examples

How to do group by sum in R? By using aggregate() from R base or group_by() function along with the summarise() from the dplyr package you can do the group by on…

# R Group by Count With Examples

Ho to do group by count in R? By using aggregate() from R base or group_by() function along with the summarise() from the dplyr package you can do the group by on…

# R Group by Multiple Columns or Variables

How to perform a group by on multiple columns in R DataFrame? By using group_by() function from dplyr package we can perform group by on multiple columns or variables (two…

# R group_by() Function from Dplyr

The group_by() function in R is from dplyr package that is used to group rows by column values in the DataFrame, It is similar to GROUP BY clause in SQL.…

# Reorder Columns of DataFrame in R

How to reorder (change the order) columns of DataFrame in R? There are several ways to rearrange or reorder columns in R DataFrame for example sorting by ascending, descending, rearranging…

# Sort or Order List in R?

How to sort a list in R? Sorting or Ordering a list in R can be done by using lapply() function or using the order() function after converting to a…