[R] tapply histogram

Aimin Yan aiminy at iastate.edu
Fri Jun 1 15:32:18 CEST 2007


use lattice graph


At 08:00 AM 6/1/2007, livia wrote:

>Dear members,
>
>I would like to pass the histogram settings to each subset of the dataframe,
>and generate a multiple figures graph.
>
>First, can anyone tell me how to generate a multiple figures environment? I
>am trying
>
>mfrow=c(2,4) and nothing appears.
>
>Secondly, I want to pass the following function in tapply()
>
>hist(x, freq=FALSE)
>lines(density(x), col="red")
>rug(x)
>
>how can I manage it?
>
>Many thanks
>
>--
>View this message in context: 
>http://www.nabble.com/tapply-histogram-tf3852186.html#a10912441
>Sent from the R help mailing list archive at Nabble.com.
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list