Goodarz,
If the advice below didn't fix your problem, could you send us the
relevant syntax? This may shed some light on the problem.
Thanks,
Keith
On Mar 30, 2008, at 3:10 PM, A Friedman wrote:
Are you sure the class type of your object is right?
Try:
class(glm(...)) # obviously fill in the dots..."glm" should be
among the results
Alternatively, you could have somehow not loaded or written over your
predict.glm function. Try:
getS3method("predict","glm") # should return the predict.glm
function
Ari
Seems odd though that no one should have written it.
On Sun, Mar 30, 2008 at 3:38 PM, Goodarz Danaei
<gdanaei at hsph.harvard.edu> wrote:
Hi all,
We are trying to get "predict" to work after survey glm but we get:
Error in UseMethod("predict") : no applicable method for "predict"
any guesses why this might be happening?
Best,
Goodarz
_______________________________________________
gov2001-l mailing list
gov2001-l at
lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
_______________________________________________
gov2001-l mailing list
gov2001-l at
lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l