Hi,
I'm trying to figure out how to classify my data based on their similarity, compatibility with a reference line that can change.
My data looks like this: (sorry, can't make a reprex)
Nationality / Gender / Race / Child
for example :
R1 : French / Male / White / 2
R2 : German / Male / Black / 0
R3 : French / Male / Black / 0
I'm trying to reorganize my data in :
D2
D3
D1
by comparison with a chosen line, here D2 for example.
I tried the "semi-joined" function but you have to fill in the elements for comparison. Rather, I'm looking to compare my data to a selected or filled in row.
Thx for reading 