On two lists of data (in a matrix perhaps?) And may i also know where I can find the complete documentation of how to use all the functions in R? Thank you for your help! _________________________________________________________________ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Thu, 29 Aug 2002, chromatonus 712 wrote:> On two lists of data (in a matrix perhaps?)Lists and matrices are different things, so please be more precise.> And may i also know where I can > find the complete documentation of how to use all the functions in R? Thank > you for your help!In refman.pdf. You may need to do make pdf make install-pdf though to get it installed. Good reading (it is over 1000 A4 pages). -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Thu, 29 Aug 2002, chromatonus 712 wrote: |On two lists of data (in a matrix perhaps?) And may i also know where I can |find the complete documentation of how to use all the functions in R? Thank |you for your help! It seems that you need to start with ,,an introduction to R'', available at CRAN (R website) where it is made clear what is list, what is matrix and how to do anayses with them (there is also mentioned logit). You need to do something like glm(y ~ x1 + x2, family=binomial(link=logit)) where x1 and x2 are explanatory variables and y are responses. Note this is binomial logit, I have not seen any package able to do multinomial or nested logit. There are however many methods for multinominal analysis, unfortunately I am not familiar with them. You can download complete R reference manual from CRAN, but I would rather use a html-form of it (html form should be installed by default). Cheers, Ott -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On 08/29/02 19:36, chromatonus 712 wrote:>On two lists of data (in a matrix perhaps?) And may i also know where I can >find the complete documentation of how to use all the functions in R? Thank >you for your help!I'm not sure what you mean about doing a logistic regression on two lists of data. Do you know that "list" is a type of data in R? Perhaps you mean two vectors, x1 and x2, with y as the dependent variable (coded as 1/0, perhaps). Then one answer is summary(glm(y ~ x1 + x2,family=binomial)) You need to read a bit to get exactly what you want. You can find documentation for functions in R in three places. First, documentation of functions in the packages you have (base, etc.) comes with the functions. You get them with help(). Second, see http://cran.r-project.org/doc/manuals/refman.pdf in the "Manuals" section of www.r-project.org, for all functions, whether you have them or not. Third, I have these all on the web at the URL below. -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R page: http://finzi.psych.upenn.edu/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._