rbind error: “names do not match previous names”

前端 未结 5 441
旧时难觅i
旧时难觅i 2020-12-01 07:16

As part of a larger problem (adding a ,makeUniqueIDs argument to rbind.SpatialPolygonsDataFrame for situations when the polygon IDs are identical),

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-01 07:43

    rbind() needs the two object names to be the same. For example, the first object names: ID Age, the next object names: ID Gender,if you want to use rbind(), it will print out:

    names do not match previous names

提交回复
热议问题