Created
April 15, 2017 12:29
-
-
Save mrchypark/e5e8814db44dba19696c618bc0e52652 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 샘플 데이터를 만듬 | |
testData <- data.frame(LET=sample(LETTERS,1000,replace = T), | |
NUM=sample(1:10,1000,replace = T), | |
stringsAsFactors = F) | |
# 데이터를 확인함 | |
head(testData,100) | |
# 정렬된 데이터를 확인함 | |
head(data[order(data$LET,data$NUM),]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment