Duh, I'm more dyslexic than usual obviously.
John Kane
Kingston ON Canada
> -Original Message-
> From: ruipbarra...@sapo.pt
> Sent: Sun, 05 Aug 2012 17:07:38 +0100
> To: jrkrid...@inbox.com
> Subject: Re: [R] ggplot2 boxplot help
>
> Hello,
>
> Wa
Hello,
Wasn't it supposed to be a boxplot?
Anyway, the main problem seems to be a df format conversion prior to
plotting.
dat2 <- data.frame(sample=rep(NA, 2*nrow(dat)))
dat2$sample <- with(dat1, c(as.character(sample_1), as.character(sample_2)))
dat2$value <- with(dat1, c(value_1, value_2))
d
Please use dput() to supply sample data.
I think this does something like what you want.
===###
ibrary(ggplot2)
library(reshape2)
dat1<-read.table(text="
sample_1 sample_2 value_1 value_2
N C 1.9268400 36.7
3 matches
Mail list logo