The library of packages that installs with R includes the stats package, in the stats package is the glm function for fitting generalized linear models. Using glm with a binomial family will fit a logistic regression which can be used as you describe.
If you really feel the need to use an additional package then lrm in the rms package is another option (and I am sure there are others as well). On Fri, Jan 24, 2014 at 4:41 AM, Daniel Patón Domínguez <d.pato...@gmail.com> wrote: > Dear all: > > I want to predict a presence/absence vector using a presence/absence matrix > of events. What library can do this in R? > > Many thanks > -- > ******************************************************** > Daniel Patón Domínguez > Numerical Ecology. Ecology Unit > Department of Plant Biology, Ecology and Earth Sciences > Faculty of Sciences. University of Extremadura > Avda. Elvas s/n 06071 Badajoz (Spain) > http://unex.academia.edu/DanielPatonDominguez > https://www.researchgate.net/profile/Daniel_Paton/ > http://sites.google.com/site/numericalecologyuex/home > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Gregory (Greg) L. Snow Ph.D. 538...@gmail.com ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.