On 08.07.2011 18:54, rstudent wrote:
Tried this
Tried what? Nothing cited Please cite the original examples and
answers so that we can follow up.
Best,
Uwe Ligges
> and received this error:
Error in hist.default(x = integer(0), plot = FALSE) :
invalid number of 'breaks'
--
Vi
Tried this and received this error:
Error in hist.default(x = integer(0), plot = FALSE) :
invalid number of 'breaks'
--
View this message in context:
http://r.789695.n4.nabble.com/Condional-Density-Plot-from-different-data-tp3080615p3654634.html
Sent from the R help mailing list archive at Na
On Thu, Dec 9, 2010 at 10:11 AM, Doran, Harold wrote:
> Perhaps I found a solution as:
>
> datA$type <- gl(1, nrow(datA), label = 'PopA')
> datB$type <- gl(1, nrow(datB), label = 'PopB')
> dat <- rbind(datA, datB)
Or, slightly shorter
dat <- make.groups(datA, datB)
densityplot(~scores|condition,
Perhaps I found a solution as:
datA$type <- gl(1, nrow(datA), label = 'PopA')
datB$type <- gl(1, nrow(datB), label = 'PopB')
dat <- rbind(datA, datB)
densityplot(~scores|condition, group = type, dat)
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-projec
4 matches
Mail list logo