'how to find from which residual of model a specified value belongs in R
I have created a model and I need to know from which residual the value belongs.
#the value is
3.098765
#I am using following code
which(Mod3$residuals == 3.098765) #and it throws following error
named integer(0)
Solution 1:[1]
residuals are numeric. "3.098765" means character. Try:
which(Mod3$residuals == 3.098765)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Fujibayashi Kyou |
