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

Add wrappers to smoothCon so that it is easy to visualise basis functions #42

Closed
gavinsimpson opened this issue May 28, 2019 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@gavinsimpson
Copy link
Owner

gavinsimpson commented May 28, 2019

It would be useful for teaching and understanding GAMs if you could quickly and intuitively generate a basis expansion for a covariate, evaluate it at some values producing a tidy object and then plot it with draw() or ggplot().

@gavinsimpson gavinsimpson added the enhancement New feature or request label May 28, 2019
@gavinsimpson gavinsimpson changed the title Add wrappers to smoothCon and predictMatrix so that it is easy to visualise basis functions Add wrappers to smoothCon and PredictMat so that it is easy to visualise basis functions Sep 10, 2019
gavinsimpson added a commit that referenced this issue Sep 11, 2019
gavinsimpson added a commit that referenced this issue Sep 12, 2019
Adds basic basis generation and plotting. Need to check bivariate
and tensor product smooths work and do more testing.
@gavinsimpson gavinsimpson changed the title Add wrappers to smoothCon and PredictMat so that it is easy to visualise basis functions Add wrappers to smoothCon so that it is easy to visualise basis functions Sep 19, 2019
@gavinsimpson
Copy link
Owner Author

This doesn't involve PredictMat(). The basic functionality is now added. Need some testing and draw() methods for 2d and more specialised bases as needed.

@gavinsimpson gavinsimpson added this to the 0.3 milestone Sep 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant