
R | 데이터프레임 중복제거(duplicated())
·
R/preprocessing
1. 1차원 벡터, 리스트에서 중복제거 - unique() 사용 a = rep(1:10, each = 2) print(a) unique(a) 2. Data frame에서 중복 제거 - duplicated() 사용 데이터 프레임 생성 DUPLICATE