-
Notifications
You must be signed in to change notification settings - Fork 9
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
panel.lmbands() #90
Comments
My proposal would be to include examples of how to create this functionality using broom::augment() and not craft a separate layer for this. |
This exists already: library(ggformula)
#> Loading required package: ggplot2
#>
#> New to ggformula? Try the tutorials:
#> learnr::run_tutorial("introduction", package = "ggformula")
#> learnr::run_tutorial("refining", package = "ggformula")
library(mosaicData)
gf_point(length ~ width, data = KidsFeet) %>%
gf_lm(interval = "confidence", fill = "red") %>%
gf_lm(interval = "prediction", fill = "navy") Created on 2018-06-15 by the reprex package (v0.2.0). |
This looks great. Could it be added to the vignette? https://cran.r-project.org/web/packages/ggformula/vignettes/ggformula.html |
I've added something. But I'm not sure the point of the vignette is to show every possible thing that can be done. I've put this in the section on stats since these are using statistical transformations of the data. |
Is there an easy way to replicate the functionality of panel.lmbands() for ggformula plots? This is used several times in some of the mosaic materials.
xyplot(age ~ cesd, panel = panel.lmbands, data = HELPrct)
The text was updated successfully, but these errors were encountered: