Skip to content

Commit

Permalink
Fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Jul 31, 2016
1 parent c4168bb commit d58ce97
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions EDA.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -427,13 +427,7 @@ Then visualise with `geom_tile()` and the fill aesthetic:
diamonds %>%
count(color, cut) %>%
ggplot(mapping = aes(x = color, y = cut)) +
<<<<<<< HEAD
geom_tile(aes(fill = n))
||||||| merged common ancestors
geom_tile(aes(fill = n))
=======
geom_tile(mapping = aes(fill = n))
>>>>>>> 3eb371e1111d5ec11bacc14d8b4d38208a055bed
geom_tile(mapping = aes(fill = n))
```

If the categorical variables are unordered, you might want to use the seriation package to simultaneously reorder the rows and columns in order to more clearly reveal interesting patterns. For larger plots, you might want to try the d3heatmap or heatmaply packages, which create interactive plots.
Expand Down

0 comments on commit d58ce97

Please sign in to comment.