Comments (5)
That's odd: you're using it entirely correctly, and I can't reproduce the problem. I take it residuals(lmfit)
does work?
The augment_columns
function is what adds the residuals: if you get the source code and start tinkering around the line ret$.resid <- residuals0(x)
(starting by changing it to ret$.resid <- residuals0(x)
to avoid the error catching), you might be able to figure out what's going on (I'd be happy to help with suggestions but am of limited immediate help since I can't reproduce it!)
from broom.
Even I am having this problem now . residuals(lmfit) is working
R version 3.2.0 (2015-04-16)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 8 x64 (build 9200)
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] readr_0.1.1 broom_0.3.7 tidyr_0.2.0 lubridate_1.3.3 zoo_1.7-12
[6] data.table_1.9.4 dplyr_0.4.1
loaded via a namespace (and not attached):
[1] Rcpp_0.11.6 lattice_0.20-31 psych_1.5.4 digest_0.6.8 assertthat_0.1
[6] R6_2.0.1 chron_2.3-45 grid_3.2.0 plyr_1.8.2 DBI_0.3.1
[11] magrittr_1.5 stringi_0.4-1 lazyeval_0.1.10 reshape2_1.4.1 tools_3.2.0
[16] stringr_1.0.0 parallel_3.2.0 mnormt_1.5-3 memoise_0.2.1
from broom.
Apologies for not replying sooner. I will try and have a look at your suggestions this week!
Thanks for being so quick at replying.
from broom.
Gonna close this since I can't reproduce. I presume this would have been caught in the time since the issue was opened given how much tidy.lm
gets used.
from broom.
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
from broom.
Related Issues (20)
- Different tidy output for an object of class summary.glht when the package jtools is loaded HOT 2
- augment.fixest not playing nice with nest_by? HOT 4
- re-upping discussion of tidiers for rms-package objects HOT 2
- re-upping discussion of tobit model tidiers HOT 3
- Include `conf.level` in `tidy.htest()` results HOT 3
- Incorrect confidence intervals for precision components of a betareg model HOT 2
- Issue in the documentation of tidy.geeglm HOT 3
- tidy.anova fails with long predictor names (two lines?): Logical subscript `idx` must be size 1 or 2, not 3. HOT 3
- tidy.varest contains wrong (repeated) coefficients? HOT 4
- transition to cli errors
- add / polish alt text
- Regression Model Accuracy Metrics for Objects of class oohbchoice HOT 2
- No tidy method for objects of class npregression HOT 2
- Issues regarding CI computing for lm.beta models HOT 2
- augment error with `na.action = na.exclude` in `lm` HOT 1
- add conf.int and exponentiate arguments to `tidy.cch()`
- Error: No tidy method for objects of class npregression HOT 2
- Possible bug with `tidy() ` function on `lm.beta` object HOT 3
- augment() fails HOT 3
- address GHA failures re: minimum R version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from broom.