Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > class(data$"IMDb Rating")
- [1] "factor"
- > data$"IMDb Rating" <- as.numeric(data$"IMDb Rating")
- > data$"IMDb Rating"
- [1] 12 12 11 10 10 10 10 10 9 9 9 8 8 8 8 8 8 8 7 7 7 7
- [23] 7 7 7 7 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6
- [45] 6 6 6 6 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
- [67] 5 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
- [89] 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 3 3 3 3
- [111] 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
- [133] 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 2 2
- [155] 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
- [177] 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
- [199] 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1
- [221] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
- [243] 1 1 1 1 1 1 1 1
- > class(data$"IMDb Rating")
- [1] "numeric"
- > hist(data$"IMDb Rating")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement