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

Extract partial residuals #76

Closed
noamross opened this issue Jun 10, 2020 · 2 comments
Closed

Extract partial residuals #76

noamross opened this issue Jun 10, 2020 · 2 comments
Assignees

Comments

@noamross
Copy link

It would be great to be able to extract partial residuals for a smooth that are used in draw.gam(..., residuals = TRUE).

I'll self-assign this but am not sure when I'll get to it.

@gavinsimpson
Copy link
Owner

Would a partial_residuals() function be more useful generally? That way a user wouldn't need to plot something to get what they want.

The problem with getting draw() functions to return extra things is that they already return ggplot plots or grid objects, which the auto print() behaviour then causes stuff to be plotted on the device.

@gavinsimpson gavinsimpson self-assigned this Jun 10, 2020
@gavinsimpson
Copy link
Owner

I will add a partial_residuals() and possibly add_partial_residuals() that would do this.

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