-----Urspr?ngliche Nachricht-----
Von: gov2001-l-bounces(a)lists.fas.harvard.edu
[mailto:gov2001-l-bounces@lists.fas.harvard.edu]
Gesendet: Saturday, November 20, 2004 12:02 PM
An: gov2001-l(a)lists.fas.harvard.edu
Betreff: Re: [gov2001-l] zelig question
Hmmm...we're on Zelig version 2.0-9. Can you make sure
that's
what you're running? We changed the syntax for setx() a few
versions ago. Thanks, Olivia
----- Original Message -----
From: "Jens Hainmueller" <jens_hainmueller(a)ksg05.harvard.edu>
To: <gov2001-l(a)lists.fas.harvard.edu>
Sent: Friday, November 19, 2004 4:31 PM
Subject: [gov2001-l] zelig question
Hi,
I want to check if my function for the predicted values for
Problem 1c works
properly. So I rerun the model in Zelig:
z.out <-
zelig(MIL~COOP+TARGET+COST+RELAT+COOP.X.TARGET,
data=data ,
model="logit")
x.coop1<-
setx(z.out,COOP=1,COOP.X.TARGET=1*median(TARGET),fn=list(numeric=median,
ordered=median))
Error in get(x, envir, mode, inherits) : variable "fn" of
mode
"function"
was not found
or jus
x.coop1<- setx(z.out,fn=list(numeric=median,
ordered=median))
Error in get(x, envir, mode, inherits) : variable "fn"
of
mode
"function"
was not found
What does this error message mean? Something is wrong with
the
fn=list,
probably, but I don't see what.
Thanks!
J.
_______________________________________________
gov2001-l mailing list
gov2001-l(a)lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
_______________________________________________
gov2001-l mailing list
gov2001-l(a)lists.fas.harvard.edu