[R] 2.01

Duncan Murdoch murdoch at stats.uwo.ca
Fri Dec 10 14:48:12 CET 2004


On Thu, 9 Dec 2004 16:46:27 -0600, "Bang" <jbang at uiuc.edu> wrote :

>I recently installed the new base.
>
>Code that I had been successfully using for a spatial model is now giving
>the following message when it reads the "Y" variable in the command: 
>
>y <- model.response(mf, "numeric")
>
>The error it gives is: 
>
>Error in model.response(mf, "numeric") : No direct or inherited method for
>function "model.response" for this call
>
>The code I've been using works in 1.9, not in the 2.  Is this an issue with
>the program, and how can it be overcome?

I just tried that with mf constructed according to the man page
example, and it worked with no error.  You'll need to show us how you
constructed mf before we can help with this.

Duncan Murdoch




More information about the R-help mailing list