Advertisement
Guest User

Untitled

a guest
Sep 15th, 2013
2,373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. Error in if (stderr < 10 * .Machine$double.eps * max(abs(mx), abs(my)))
  2. stop("data are essentiallyconstant") :
  3. missing value where TRUE/FALSE needed
  4. In addition: Warning messages:
  5. 1: In mean.default(x) : argument is not numeric or logical: returning NA
  6. 2: In mean.default(y) : argument is not numeric or logical: returning NA
  7.  
  8. x = as.factor(1:5)
  9. y = as.factor(1:5)
  10.  
  11. t.test(x, y)
  12.  
  13. Error in if (stderr < 10 * .Machine$double.eps * max(abs(mx), abs(my))) stop("data are essentially constant") :
  14. missing value where TRUE/FALSE needed
  15. In addition: Warning messages:
  16. 1: In mean.default(x) : argument is not numeric or logical: returning NA
  17. 2: In mean.default(y) : argument is not numeric or logical: returning NA
  18.  
  19. x + y
  20.  
  21. [1] NA NA NA NA NA
  22. Warning message:
  23. In Ops.factor(x, y) : + not meaningful for factors
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement