Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. pdat <- with(data,
  2. expand.grid(year_begin = seq(min(year_begin), max(year_begin), length = 100),
  3. Tree = levels(Tree)))
  4.  
  5. pdat <- cbind(pdat, fitted = predict(model, newdata = pdat, type = "response"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement