A non-text attachment was scrubbed... Name: not available Type: text Size: 1480 bytes Desc: not available Url : https://stat.ethz.ch/pipermail/r-help/attachments/19980326/974231c9/attachment.pl
>>>>> "Kenneth" == Kenneth Nordstrom <nordstro at noppa.helsinki.fi> writes:Kenneth> Howdy! I'm a newbie in R, but have nevertheless gone out on a Kenneth> limb and used R this spring for teaching our stats students Kenneth> "modern data-analysis". I've been using RNotes, but to get Kenneth> some more (statistical) meat on the bones, I've complemented Kenneth> it with material from Venables-Ripley. Most of the V-R stuff Kenneth> (that I've tried) seems to work out of the box. Kenneth> Q-1: Is this generally the case (except for obvious Kenneth> differences with S+ like 3-dim graphics)? If yes, why is it Kenneth> necessary to port MASS if you can source the files on their Kenneth> diskette? Anyone tried this, or used other material for Kenneth> teaching data-analysis with R a la V-R? You must have been that you didn't have problems with "MASS". Part of it certainly is because V&R use a very good S programming style. Many things (95%, 98% ??) *do* work out of the box. But the remaining (2-5%) can be a pain, especially if they are hidden, and don't even produce an obvious error message. Kenneth> Q-2: How does R compare with XploRe? The latter seems to have Kenneth> the advantage that more macros/functions are already written, Kenneth> it has a nice graphical user interface (a consideration when Kenneth> teaching) as well as 3-dim graphics (also dynamical). Has Kenneth> anyone compared these in terms of capabilities as programming Kenneth> languages? (Note that you can get XploRe for LINUX for free Kenneth> and without expiry date!) I'm sure XploRe has some (even many?) pluses over R; especially the availability of modern non/semi-parametric curve fitting and other modern statistical methods and the extensive and nicely written documentation.. and ... and... Programming Language: I'd be interested to hear opinions here. I remember having preferred the S language (of which R is a dialect) quite a bit. However, I am severely biased... :-) The big drawback for many of the "R fans" is that it is commercial and only available as binary, and therefore not free in the sense of the Free Software Foundation. [[Also: There is a saying that software is only *really* documented, and usable for scientific purposes if its source code is available (together with more doc..!). However I know that this view is quite extreme, even more than I am .. ;-) ]] Martin Maechler <maechler at stat.math.ethz.ch> <>< Seminar fuer Statistik, ETH-Zentrum SOL G1; Sonneggstr.33 ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND phone: x-41-1-632-3408 fax: ...-1086 http://www.stat.math.ethz.ch/~maechler/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Kenneth Nordstrom writes: > I'm a newbie in R, but have nevertheless gone out on a limb > and used R this spring for teaching our stats students "modern > data-analysis". I've been using RNotes, but to get some more > (statistical) meat on the bones, I've complemented it with > material from Venables-Ripley. Most of the V-R stuff (that > I've tried) seems to work out of the box. Well, of course. :-) > Q-1: Is this generally the case (except for obvious > differences with S+ like 3-dim graphics)? If yes, why is > it necessary to port MASS if you can source the files on > their diskette? Anyone tried this, or used other material > for teaching data-analysis with R a la V-R? Well, because not all of it will work straight out of the box. I should affirm that both V&R would like the V&R software to be freely and publicly available to R users, but we have to be careful to observe some copyright niceties. Although we wrote the code and the book, the publisher now officially owns the copyright to both, (which was the deal, of course). > Q-2: How does R compare with XploRe? The latter seems to have > the advantage that more macros/functions are already > written, it has a nice graphical user interface (a > consideration when teaching) as well as 3-dim graphics > (also dynamical). Has anyone compared these in terms of > capabilities as programming languages? > > (Note that you can get XploRe for LINUX for free and > without expiry date!) With free upgrades, as well? (Asked he, more or less rhetorically.) That would make it very attractive since it is a very professional product with extremely good graphics (despite it's execrable name!). -- Bill Venables, Head, Dept of Statistics, Tel.: +61 8 8303 5418 University of Adelaide, Fax.: +61 8 8303 3696 South AUSTRALIA. 5005. Email: Bill.Venables at adelaide.edu.au -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I think I have found a bug in the function dhyper (R-0.61.2): R> dhyper(0,3,3,0) Warning: NAs produced in function "dhyper" [1] NA Documentation: "Usage dhyper(x, N1, N2, n) ....... The hypergeometric distribution is used for sampling without replacement. It has density p(x) = Choose(N1, x) Choose(N2, n-x) / Choose(N1+N2, n) for x = 0,...,n" R> choose(3,0) * choose(3,0) / choose(6,0) [1] 1 This result is correct, and obviously dhyper is implemented in some way not consistent with the documentation. Also note the spelling error of 'choose' in the documentation. --- Goran Brostrom phone : +46 90 7865223 Department of Statistics 7865213 (secr) Umea University fax : 7866614 S-90187 Umea, Sweden e-mail: gb at stat.umu.se -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._