On 9/20/05, Sebastian Luque [EMAIL PROTECTED] wrote:
Hi,
I'd like to add, say, the sample size for every group in a bwplot as a
parenthetical annotation to the axis. Here's a sketch:
--8---cut here---start-8---
require(Hmisc)
age - sample(1:100, 1000,
Hi Deepayan,
Deepayan Sarkar [EMAIL PROTECTED] wrote:
[...]
If you really want the frequencies for the whole (subsetted) data, you
might as well use something like:
dd - data.frame(age, sex, grp)
with(subset(dd, age 20),
bwplot(grp ~ age | sex, aspect = 0.5, box.ratio = 2,
On 9/22/05, Sebastian Luque [EMAIL PROTECTED] wrote:
Hi Deepayan,
Deepayan Sarkar [EMAIL PROTECTED] wrote:
[...]
If you really want the frequencies for the whole (subsetted) data, you
might as well use something like:
dd - data.frame(age, sex, grp)
with(subset(dd, age 20),
Hi,
I'd like to add, say, the sample size for every group in a bwplot as a
parenthetical annotation to the axis. Here's a sketch:
--8---cut here---start-8---
require(Hmisc)
age - sample(1:100, 1000, replace = TRUE)
sex - gl(2, 8, 1000, c(Male, Female))
grp -