method merge.glm