Hi,
it's really a beautiful package. And we really like to use it in our reseach visualization.
however, we found the rayshader cannot be applied to used in ggtern results, here is my code,
library(ggtern)
labFnc <- function(x,digits=2) format(round(unique(x),digits),digits=digits)
mydata <- data.frame(
x = runif(50, min = 0.25, max = 12),
y = runif(50, min = 0.1, max = 10),
z = runif(50, min = 0.5, max = 4),
value = runif(50, min = 10000, max = 20000))
plot <- ggtern(data = mydata,aes(x = x, y = y, z = z,col=value)) +
theme_bw() +
geom_point(alpha = 0.8, size = 3) +
theme_showarrows() +
scale_T_continuous(breaks=unique(mydata$x),labels=labFnc(mydata$x))+
scale_L_continuous(breaks=unique(mydata$y),labels=labFnc(mydata$y))+
scale_R_continuous(breaks=unique(mydata$z),labels=labFnc(mydata$z))
plot
Hi, it's really a beautiful package. And we really like to use it in our reseach visualization. however, we found the rayshader cannot be applied to used in ggtern results, here is my code,
But we executed the
rayshader
codes as following:it report the error:
Could you help us work it out ?
Thanks