Sorry, the installation instructions should have changed too --
there's a bug (at HMDC). Use:
install.packages("Zelig")
That will make sure you're on the most current version (which
works best with R 2.0.0, btw).
----- Original Message -----
From: "Jens Hainmueller" <jens_hainmueller(a)ksg05.harvard.edu>
To: <gov2001-l(a)lists.fas.harvard.edu>
Sent: Saturday, November 20, 2004 12:15 PM
Subject: AW: [gov2001-l] zelig question
I am running the Zelig version that I downloaded a few
weeks
ago. How can I
check which version I am running? I just tried to re-download
zelig, but I
am not sure if it worked properly. I get this weird error at
the very end.
trying URL
`http://cran.r-project.org/bin/windows/contrib/1.8/PACKAGES'
Content type `text/plain; charset=iso-8859-1' length 13920
bytes
opened URL
downloaded 13Kb
trying URL
`http://www.stat.auckland.ac.nz/~yee/bin/windows/contrib/1.8/PACKAGES'
Content type `text/plain' length 409 bytes
opened URL
downloaded 409 bytes
trying URL
`http://www.stat.auckland.ac.nz/~yee/bin/windows/contrib/1.8/VGAM_0.5-18.zip
'
Content type `application/zip' length 851835 bytes
opened URL
downloaded 831Kb
Delete downloaded files (y/N)? y
updating HTML package descriptions
Warning message:
No package "Zelig" on CRAN. in: download.packages(pkgs,
destdir = tmpd,
available = available,
Thanks,
Jens
> -----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
>
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
_______________________________________________
gov2001-l mailing list
gov2001-l(a)lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l