Hello, I'm new here.
This is probably a basic request, but I couldn't find the solution.
I'm looking to make pairwise comparisons for each posible row combination. I did it using for() like this:
for (i in 1:nrow()) {
for (j in 1:nrow()) { funtion}}
But I'm looking a method to avoid using for() or if().
If anyone could help I would be very grateful.
Gera.