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.
suppressMessages(library(ggtern)) set.seed(1) 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)





Comments
Hi, Dr. Hamilton.
My name is Philip, i am graduate student from Universidade Federal do Mato Grosso do Sul – Brasil.
I would like to know if it is possible to represent diversity and its components from the ternary plot in R software. I am reading your blog but I have not yet found ways to include triangular matrix models (representation of beta diversity and its components). Could you help me or even send me the codes so I can represent diversity and its components, if at all possible?
Thank you for your attention.