William Dunlap writes:
> Put the formula first in the argument list or label
> the data argument data= and put the formula after it
> if you want to use the formula method for ftable.
Ack! So it was a question for R-help after all. Thanks Bill,
especially for being so polite about it.
__
ap
Spotfire, TIBCO Software
wdunlap tibco.com
> -Original Message-
> From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On
> Behalf Of Timothy Bates
> Sent: Thursday, January 26, 2012 3:17 PM
> To: r-de...@stat.math.ethz.ch
> Subject: Re: [Rd] ftable.
At least this is correct :-)
ftable(UCBAdmissions, Dept ~ Gender + Admit)
But yes: the formula
ftable(UCBAdmissions, Gender + Admit ~ Dept)
should see "The left and right hand side of formula specify the column and row
variables, respectively"
# demo of right-hand side bug
ftable(UCBAdmissio
I apologize in advance if this is the wrong forum for this
report/request, and for the fact that I have not read the code for
ftable.formula in any detail.
>From reading the documentation for ftable.formula, I expected that the
following two calls to ftable would produce the same results:
data(U