Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial residuals #28

Closed
iwahiropuzzles opened this issue Mar 30, 2019 · 3 comments
Closed

Partial residuals #28

iwahiropuzzles opened this issue Mar 30, 2019 · 3 comments

Comments

@iwahiropuzzles
Copy link

Can you make plot.accurateGLM possible to include partial residuals as in mgcv::plot.gam?

@kkondo1981
Copy link
Owner

Could you show me any example of using plot.gam or plot residuals by other way?

@iwahiropuzzles
Copy link
Author

Could you show me any example of using plot.gam or plot residuals by other way?

Try the code below. (The pages = option is also useful, by the way).


library(MASS)
library(mgcv)
model <- gam(medv ~ s(crim)+s(zn)+s(indus)+chas+s(nox)+s(rm)+s(age)+
s(dis)+rad+s(tax)+s(ptratio)+s(black)+s(lstat), data = Boston,
family = Gamma(log))
plot(model, residuals = TRUE, se = FALSE, pages = 2 )

@kkondo1981 kkondo1981 added the In Review Resolved or answered, and waiting for review by issuer label Jun 16, 2019
@kkondo1981 kkondo1981 added WIP Work In Progress and removed In Review Resolved or answered, and waiting for review by issuer WIP Work In Progress labels Jan 3, 2020
@kkondo1981
Copy link
Owner

Finished in #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants