I'm trying to find a way to remove rows with equal values in all columns for various data frames.
The data frames will never be larger than 500 rows by 10 columns so size is not an issue.
Before and after are below. rows 2 and 5 were dropped in df_after because each row contained a value that was equal in all columns.
Thank you for your assistance on this. I'm still very new to R so any guidance is always welcomed.
df_before <- data.frame("x1" = c("a","b","c","d","e"), "x2" = c("c","b","c","x","e"), "x3" = c("a","b","t","s","e"))
df_after<- data.frame("x1" = c("a","c","d"), "x2" = c("c","c","x"), "x3" = c("a","t","s"))