Dear R-gurus..
How do I implement the following:
a) Overlay frequency(instead of density) with line of density plot, vertical
lines of confidence intervals and reference levels?
b) Control the breaks (using "nint?"), order of the panel, and the layout,
place units for each conditioning variable?
You're right. It's necessary for xyplot though to prevent grouping.
On Mar 20, 2010 10:43 AM, "Dieter Menne"
wrote:
Sundar Dorai-Raj-2 wrote:
>
> Or perhaps more clearly,
>
> histogram(~a1 + b1 + c1, data = aa, o...
Why outer=TRUE? Looks same for me without:
Dieter
library(lattice)
aa <- dat
Sundar Dorai-Raj-2 wrote:
>
> Or perhaps more clearly,
>
> histogram(~a1 + b1 + c1, data = aa, outer = TRUE)
>
>
Why outer=TRUE? Looks same for me without:
Dieter
library(lattice)
aa <- data.frame(a1=rnorm(20),b1=rnorm(20,0.8),c1=rnorm(20,0.5))
histogram(~a1 + b1 + c1, data = aa)
--
View
Or perhaps more clearly,
histogram(~a1 + b1 + c1, data = aa, outer = TRUE)
--sundar
On Fri, Mar 19, 2010 at 3:50 PM, Gabor Grothendieck wrote:
> Try this:
>
> histogram(~ values | ind, stack(aa))
>
>
> On Fri, Mar 19, 2010 at 5:44 PM, Santosh wrote:
> > Dear R-gurus
> >
> > aa <- data.frame(a
Try this:
histogram(~ values | ind, stack(aa))
On Fri, Mar 19, 2010 at 5:44 PM, Santosh wrote:
> Dear R-gurus
>
> aa <- data.frame(a1=rnorm(20),b1=rnorm(20,0.8),c1=rnorm(20,0.5))
> sapply(aa,function(x) histogram(x,breaks=NULL))
>
> or px <- sapply(aa,function(x) histogram(x,breaks=NULL))
> pri
Thanks for your response.
how do I print them in an ordered manner, akin to using
print(px,split=c(2,2,1,1),more=T)) or par(mfrow=c(x,y))?
-Santosh
On Fri, Mar 19, 2010 at 2:58 PM, Gabor Grothendieck wrote:
> Try this:
>
> junk <- sapply(aa,function(x) print(histogram(x,breaks=NULL)))
>
> or, s
Try this:
junk <- sapply(aa,function(x) print(histogram(x,breaks=NULL)))
or, shorter:
for(a in aa) print(histogram(a, breaks = NULL)
On Fri, Mar 19, 2010 at 5:44 PM, Santosh wrote:
> Dear R-gurus
>
> aa <- data.frame(a1=rnorm(20),b1=rnorm(20,0.8),c1=rnorm(20,0.5))
> sapply(aa,function(x) hist
Dear R-gurus
aa <- data.frame(a1=rnorm(20),b1=rnorm(20,0.8),c1=rnorm(20,0.5))
sapply(aa,function(x) histogram(x,breaks=NULL))
or px <- sapply(aa,function(x) histogram(x,breaks=NULL))
print(px,split=c(1,1,1,1),more=F)
The above code does not seem to work. am I missing something?
Thanks,
Santosh
8 matches
Mail list logo