[Rd] ftable.formula

From: Brett Presnell <presnell_at_stat.ufl.edu>
Date: Thu, 26 Jan 2012 17:31:54 -0500

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(UCBAdmissions)
ftable(UCBAdmissions, row.vars = "Dept", col.vars = c("Gender", "Admit")) ftable(UCBAdmissions, Gender + Admit ~ Dept)

Is this a bug or the intended behavior? I prefer the formula interface, so I would be happiest if the output was the same for the two calls. However, if this is the intended behavior, then I think that the documentation should be clearer on this point.

FWIW:

platform       x86_64-pc-linux-gnu          
arch           x86_64                       
os             linux-gnu                    
system         x86_64, linux-gnu            
status                                      
major          2                            
minor          14.1                         
year           2011                         
month          12                           
day            22                           
svn rev        57956                        
language       R                            
version.string R version 2.14.1 (2011-12-22)

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 26 Jan 2012 - 22:34:44 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 27 Jan 2012 - 01:10:11 GMT.

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

list of date sections of archive