1. 程式人生 > >R語言中刪除重複的資料行

R語言中刪除重複的資料行

    duplicated() determines which elements of a vector or data frame are duplicates of elements with smaller subscripts, and returns a logical vector indicating which elements (rows) are duplicates.