본문 바로가기

카테고리 없음

R에서 데이터 프레임 두 개 이상 컬럼 이용 정렬

data3d <- data3d[order(data3d[,1], order(data3d[,2])),]
이런 식으로..