Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pdat <- with(data,
- expand.grid(year_begin = seq(min(year_begin), max(year_begin), length = 100),
- Tree = levels(Tree)))
- pdat <- cbind(pdat, fitted = predict(model, newdata = pdat, type = "response"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement