[R] problem using evaluating a formula

Gavin Simpson gavin.simpson at ucl.ac.uk
Tue Aug 2 19:31:52 CEST 2005


On Tue, 2005-08-02 at 18:27 +0100, Gavin Simpson wrote:
> ##data
<snip>
> 
> coca(y1 ~ y2, method = "symmetric", symmetric= TRUE)

sorry, this should have been:

coca.formula(y1 ~ y2, method = "symmetric", symmetric= TRUE)

> gives:
> 
> Error in model.frame(formula, rownames, variables, varnames, extras,
> extranames,  : 
> 	invalid variable type
<snip>

G
-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
Gavin Simpson                     [T] +44 (0)20 7679 5522
ENSIS Research Fellow             [F] +44 (0)20 7679 7565
ENSIS Ltd. & ECRC                 [E] gavin.simpsonATNOSPAMucl.ac.uk
UCL Department of Geography       [W] http://www.ucl.ac.uk/~ucfagls/cv/
26 Bedford Way                    [W] http://www.ucl.ac.uk/~ucfagls/
London.  WC1H 0AP.
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%




More information about the R-help mailing list