merge - R: left_join creating two extra rows -


i'm working own dataset spatial data set. in spatial data set,

    >nrow(bmorehoods@data)     > [1] 278 

and data set has 78 rows.

after

    >a<-left_join(bmorehoods@data,mydata)     >nrow(a)     >[1] 280 

then

    >head(bmorehoods@data) 

then row names appear

    0     1     2     3      ... 

and

head(mydata) row names appear

    1     2     3     4     ... 

so source of problem? or there other ways merge these data can use them?


Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -