Skip to content
Prev 259042 / 398502 Next

Using functions/loops for repetitive commands

On May 5, 2011, at 1:08 PM, dereksloan wrote:

            
Right....
 > ?chisq.test
# No mention of a formula argument seen
 > ?chisq.test.formula
No documentation for 'chisq.test.formula' in specified packages and  
libraries:
you could try '??chisq.test.formula'

`chisq.test` doesn't have a formula method, so sending it a formula  
will fail.

Why aren't you sending it the arguments instead of turning them into  
strings?
David Winsemius, MD
West Hartford, CT