To find columns with overlapping values of 90 percent or more, you can use the following code:
main.r514 chars20 lines
In this example, columns col1
and col2
have 100% overlap, col3
has 80% overlap with col1
and col2
, and col4
has 60% overlap with col1
, col2
, and col3
. Therefore, the code will return c("col1", "col2")
as the columns with overlapping values of 90% or more.
gistlibby LogSnag