or maybe ? id x Y 1 -0.0807817 0 1 -1.22194 1 1 -0.225859 0 2 -0.609922 1 2 0.225392 1 2 -0.473599 1 3 -1.63134 0 3 -0.124697 0 3 -0.0494716 0 4 0.40656 0