mpjdem·7 年前·議論If you need i,j indices to solve your problem you should probably not be using a data.frame but a matrix type.