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 just:
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.