Michael Harris Michael Harris

The “do” Function in R

To apply a custom function to each group in a grouped data frame and return the results as a new data frame.

Read More
Michael Harris Michael Harris

The “semi_join” Function in R

To perform a semi-join between two data frames, returning only the rows from the first data frame that have matching values in specified columns with the second data frame.

Read More
Michael Harris Michael Harris

The “anti_join” Function in R

To perform an anti-join between two data frames, keeping only the rows from the first data frame that do not have matching values in specified columns with the second data frame.

Read More