Patched Smoothing Functions

Similarly to the modifications to geom_density(…), modifications have been made to the smoothing so that something like the following can be achieved quite easily.

plot <- ggtern(data = data.frame(x = runif(100), 
                                 y = runif(100), 
                                 z = runif(100)), 
               aes(x, y, z))
plot + geom_density2d() + 
       theme_tern_rgbw() + 
       geom_smooth(se = F, colour = "red", size = 2, n = 200)

plot of chunk unnamed-chunk-1

  1. Philip

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.