Advertisement
Guest User

Untitled

a guest
Jul 11th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
R 0.36 KB | None | 0 0
  1. > q <- c(v.col[r, 1], v.col[r, 2], v.col[r, 3], 102)
  2. > m <- c(0, 170, 85, 102)
  3. > as.hexmode(m)
  4. [1] "00" "aa" "55" "66"
  5. > as.hexmode(q)
  6. Error in as.hexmode(q) : 'x' cannot be coerced to class "hexmode"
  7. > q
  8. [1]   0 170  85 102
  9. > m
  10. [1]   0 170  85 102
  11. > typeof(q)
  12. [1] "double"
  13. > typeof(m)
  14. [1] "double"
  15. > class(q)
  16. [1] "numeric"
  17. > class(m)
  18. [1] "numeric"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement