[R-sig-eco] 3d box plot

Jeremy Chacon chaco001 at umn.edu
Mon Nov 9 16:21:50 CET 2015


This doesn't directly answer your question, but I would recommend just
using a 2d boxplot grouped by the variables. I personally find the 3d one
very difficult to read. What about something like this, using ggplot2?

library(ggplot2)

fakeData = c(rnorm(10,1,2), rnorm(10,2,2),rnorm(10,2,2),rnorm(10,3,2))
group1 = c(rep("A",20),rep("B",20))
group2 = rep(c("X","Y"), 20)

df = data.frame(group1,group2, fakeData)
ggplot(df, aes(x = group1, y = fakeData, color = group2))+
  geom_boxplot()

On Sun, Nov 8, 2015 at 5:11 AM, Paolo Piras <paolo.piras at uniroma3.it> wrote:

> Hi folks,
> anyone could address me towards a R function/package able to do a 3d
> boxplot similar to
>
> http://158.132.155.107/oess/POSH/StatSoft/popups/popup125.gif
>
> Thanks in advance
> best
> paolo
>
> _______________________________________________
> R-sig-ecology mailing list
> R-sig-ecology at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
>



-- 

*___________________________________________________________________________Jeremy
M. Chacon, Ph.D.*

*Post-Doctoral Associate, Harcombe Lab*
*University of Minnesota*
*Ecology, Evolution and Behavior*

	[[alternative HTML version deleted]]



More information about the R-sig-ecology mailing list