Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Datasets should use factors and strings correctly #151

Closed
hadley opened this Issue · 1 comment

1 participant

@hadley
Owner

No description provided.

@hadley
Owner
diamonds$cut <- ordered(diamonds$cut)
diamonds$color <- ordered(diamonds$color)
diamonds$clarity <- ordered(diamonds$clarity)
save(diamonds, file = "data/diamonds.rda")

midwest$county <- as.character(midwest$county)
midwest$state <- as.character(midwest$state)
save(midwest, file = "data/midwest.rda")

movies$title <- as.character(movies$title)
save(movies, file = "data/movies.rda")

msleep$name <- as.character(msleep$name)
msleep$genus <- as.character(msleep$genus)
msleep$order <- as.character(msleep$order)
save(msleep, file = "data/msleep.rda")
@hadley hadley closed this in 2687543
@kohske kohske referenced this issue from a commit in kohske/ggplot2
@hadley Use factors correctly. Fixes #151 17fdc25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.