Last active
June 6, 2017 01:46
-
-
Save drsimonj/5b2cfc428fce350676db5dc77c059052 to your computer and use it in GitHub Desktop.
Snippets of code that demonstrate issues with model and predict functions, serving as a motivator for the twidlr package
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## predict for Analysic of Variance (aov) searches for object in global environment | |
| d <- datasets::mtcars | |
| fit <- aov(hp ~ am * cyl, d) | |
| predict(fit) | |
| d <- NULL | |
| predict(d) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment