워라밸 중독자

[R] 행 이름 기준으로 두 데이터프레임 병합 (merge dataframes by row names) 본문

코딩, 딱 지금이 시작할때! (코딱지)

[R] 행 이름 기준으로 두 데이터프레임 병합 (merge dataframes by row names)

Ufungi 2024. 4. 28. 21:43

https://stackoverflow.com/questions/7739578/merge-data-frames-based-on-rownames-in-r

 

Merge data frames based on rownames in R

How can I merge the columns of two data frames, containing a distinct set of columns but some rows with the same names? The fields for rows that don't occur in both data frames should be filled with

stackoverflow.com