1 개요[ | ]
- R 데이터프레임 왼쪽 조인
- R 데이터프레임 레프트 조인
R
Copy
df1 <- read.table( header=TRUE, stringsAsFactors=FALSE, text="
id math
1 84
2 55
3 97
4 69
5 70
")
df2 <- read.table( header=TRUE, stringsAsFactors=FALSE, text="
id english
1 71
3 80
5 58
7 46
9 92
")
merge(x=df1, y=df2, id='id', all.x=TRUE)
Loading
2 같이 보기[ | ]
편집자 Jmnote bot Jmnote
로그인하시면 댓글을 쓸 수 있습니다.