Re: [R] tapply histogram

From: Aimin Yan <aiminy_at_iastate.edu>
Date: Fri, 01 Jun 2007 08:32:18 -0500

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.



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. Received on Fri 01 Jun 2007 - 13:43:04 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 01 Jun 2007 - 14:31:15 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.