[R] par(mfrow = ) resets par('cex'), not reduces it
Hello group! I use R 2.8.0 . I've just found out that par(mfrow =) *resets* par ('cex'), not reduces it as documented. To reproduce: par(cex = 0.5) par(mfrow = c(2, 2)) print(par('cex')) It outputs 0.83, not 0.415 as expected. Particularly such a behavior makes plot.acf effectively ignore par ('cex') value for multivariate case. I guess there are more situations where the documented behavior would be more appropriate. I think it is bug in par implementation not in documentation. Could anyone comment on this? Andrey __ 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.
[R] specifications windows pc
Hello, I am about to order a new workstation at my university that will be used for R (and other research related tasks). I would appreciate any feedback on the specifications of a very fast machine. The machine should run windows (XP probably better than vista). Which chip, memory size and specification, etc should I be looking for? Thanks, Ruud [[alternative HTML version deleted]] __ 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.
Re: [R] [Obo-relations] Discussion summary on original biological parts
On Thu, 20 Nov 2008, Wacek Kusnierczyk wrote: [EMAIL PROTECTED] wrote: So what exactly is your understanding of a canonical entity and perhaps that'd clarify your point? when i studied medicine, i used to think about 'canonical' anatomy (well, we'd just speak of human anatomy, with no canonicity referred to) as a model that corresponds to our expectations wrt. a human's body when we do not have any additional information. that is, the book descriptions reflect, in most cases, the most frequently occurring structural variants. I agree. there does not have to be a single human that is exactly as the book descriptions want (and there is *no* single canon in this respect, besides perhaps that a human has one heart and such gross stuff), but there is nothing in the way of there being a human that is accurately described by a particular canonical anatomy. that's why i got shot by your There is no instance of a canonical human body or a canonical heart., which does not make sense to me if it amounts to saying there cannot be. as to A canonical human body will have canonical parts and those canonical parts will have canonical subparts and so on, the problem with the insisted canonicity here is that the more you go into details, the less canonicity to be found. if hardly anyone has more than one heart (and who has none, except for patients under surgery?), hardly any two people will have the same pattern of capillary vessels in a particular location in their body. that is, on the frequentist reading of 'canonicity', the gross level canonical descriptions correspond to strong accuracy of expectations, the more detailed levels correspond to weaker accuracy of expectations. I agree and that is why I shy away from canonical reference in that context. This is why I think it is important to clarify what canonical means. Does it pertain only to a particular level (gross level) or does it entail including all levels of granularity? Is it useful only for theoretical discourse or does it have a place in an ontology that primarily deals with portions of reality? i have read the article on canonicity writen by fabian et al., and besides its logical clarity, i found the definitions completely useless. it might be that i read them too quickly, and had no time to examine them more carefully, but it stroke me that 'canonicity' was defeined there in complete dissociation from the frequentist view. basically, a canonical entity is one that is canonical. Can you direct me to its url, if there is any? I'd be interested in reading it. But let's assume the possibility that 1 or 2 out of 6 billion people fit the idealized, canonical type. I don't see much utility in that. of course. what is useful is that if the canonical anatomy says that there is one heart in a human body, and that it is located here or there, then when a patients comes to me, without additional evidence i assume he/she has one heart and it is here or there. but i have less confidence when it comes to more detailed descriptions; these are more exemplary than canonical. I want a system that can accommodate and provide the information that your heart, my heart and anyone's heart are instances of some type Heart which defines the necessary and sufficient conditions that establish the identity of the heart structure in you, me and everyone else. wait. if you define necessary conditions for an entity to be heart and call this canonical anatomy, then either there are no hearts (because none fulfils the necessary conditions) or there are hearts that instantiate canonical anatomy. i must be wrong, but where. No, I want to stay away from calling it canonical because it will not accommodate as many instantiated hearts as there are or were. This is why I'm re-evaluating my position with regards to any canonical reference to the FMA, unless of course we redefine canonicity to mean some general or generic description. my feeling is that the term 'canonical' is virtually meaningless the way you seem to use it. Not meaningless but rather useless in terms of how it is currently perceived. And again that's why I'm questioning the current use of the term 'canonical'. Onard vQ __ 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.
Re: [R] readPDF() -- unsure how to install xpdf to make this work?
I never said it *should* work. I was simply trying something out that works on other types of files I've needed in the past (eg: html, csv, dat, etc.). I don't know the details of the pdf format, but I thought it was worth a try, certainly no harm in experimenting, and hence I learned that pdfs aren't stored in the same way that other files i've used in the past are. that's fine, good to learn new things. As for trying the readPDF() function, yes, I have downloaded and used xpdf to convert pdfs into plain text since reading the OP email. However, ow you can make xpdf available to the system so that readPDF () works in R? i don't know, hence why I posted in this thread. You clearly seem to have a solution, fancy sharing? Clair Crossupton xx On 16 Nov, 12:34, Uwe Ligges [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Hello, I was just wondering if you had found a solution? I am having the same difficulty of converting pdf's into plain text documents in R. I originally thought I could use the readLines() function, but as you can see below that did not work. Why the hell should it? It is designed to read *text* files. And what you get below is exactly how your PDF file looks like if you read it as text which it is NOT. Why do you not also go the readPDF() way (and yes, it is not always possible nor reliable to go that way). Uwe Ligges R my.destfile - C:\\Documents and Settings\\clair\\Desktop\\test\\r- intro.pdf R my.url - http://cran.r-project.org/doc/manuals/R-intro.pdf; R download.file(url = my.url, destfile=my.destfile, mode='wb') R txt - readLines(my.destfile) R txt [1] %PDF-1.4 [2] %ÐÔÅØ [3] 1 0 obj [4] /Length 587 [5] /Filter / FlateDecode [6] [7] stream [8] xÚmTM [EMAIL PROTECTED]ÎÁ±?\024tBL\020$ñ°ãd4›½*´.‰\002\001øï·_•èÌf \017’W¯_wÕ«îrðãc;Šòê`GæUŠOÛV׳£øç¾ö\006ƒ¤Ê®\027[vïÖæ6ïWÛ7ñÑTÙÖvb \030¯“uYt/N¼.³ó5·½êÿ¢¥=\025åS‚b¸³¿G› Warm Regards, Clair On 13 Nov, 15:10, Tony Breyal [EMAIL PROTECTED] wrote: Dear R-Help, I need to convert a set of '.pdf' files into an equivalent set of '.txt' files. This is so that i can do some text mining on the content. In the latest R-News letter (http://cran.r-project.org/doc/Rnews/ Rnews_2008-2.pdf), the package 'tm' for text mining is mentioned. In that lovely package, there is a function called 'readPDF()'. In order to use this, ?readPDF says Note that this PDF reader needs both the tools pdftotext and pdfinfo installed and accessable on your system. These tools are available fromhttp://www.foolabs.com/xpdf/download.html I am able to download this and use it easily from a dos window to convert a pdf file into a txt file. Question: how do i make these tools available to R, so that i can use the readPDF() function? Thank you in advance for any help, and I hope the above made sense. Tony Breyal ###OS = Windows Vista Ultimate sessionInfo() R version 2.8.0 (2008-10-20) i386-pc-mingw32 locale: LC_COLLATE=English_United Kingdom.1252;LC_CTYPE=English_United Kingdom. 1252;LC_MONETARY=English_United Kingdom. 1252;LC_NUMERIC=C;LC_TIME=English_United Kingdom.1252 attached base packages: [1] grid stats graphics grDevices utils datasets methods base other attached packages: [1] tm_0.3-1 XML_1.98-1 Snowball_0.0-3 RWeka_0.3-14 rJava_0.6-0 Matrix_0.999375-16 lattice_0.17-15 filehash_2.0 loaded via a namespace (and not attached): [1] proxy_0.4-1 __ [EMAIL PROTECTED] mailing listhttps://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ [EMAIL PROTECTED] mailing listhttps://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ 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.
Re: [R] readPDF() -- unsure how to install xpdf to make this work?
Hello, I was just wondering if you had found a solution? I am having the same difficulty of converting pdf's into plain text documents in R. I originally thought I could use the readLines() function, but as you can see below that did not work. R my.destfile - C:\\Documents and Settings\\clair\\Desktop\\test\\r- intro.pdf R my.url - http://cran.r-project.org/doc/manuals/R-intro.pdf; R download.file(url = my.url, destfile=my.destfile, mode='wb') R txt - readLines(my.destfile) R txt [1] %PDF-1.4 [2] %ÐÔÅØ [3] 1 0 obj [4] /Length 587 [5] /Filter / FlateDecode [6] [7] stream [8] [EMAIL PROTECTED]ÎÁ±?\024tBL\020$ñ°ãd4›½*´.‰\002\001øï·_•èÌf \017’W¯_wÕ«îrðãc;Šòê`GæUŠOÛV׳£øç¾ö\006ƒ¤Ê®\027[vïÖæ6ïWÛ7ñÑTÙÖvb \030¯“uYt/N¼.³ó5·½êÿ¢¥=\025åS‚b¸³¿G›� Warm Regards, Clair On 13 Nov, 15:10, Tony Breyal [EMAIL PROTECTED] wrote: Dear R-Help, I need to convert a set of '.pdf' files into an equivalent set of '.txt' files. This is so that i can do some text mining on the content. In the latest R-News letter (http://cran.r-project.org/doc/Rnews/ Rnews_2008-2.pdf), the package 'tm' for text mining is mentioned. In that lovely package, there is a function called 'readPDF()'. In order to use this, ?readPDF says Note that this PDF reader needs both the tools pdftotext and pdfinfo installed and accessable on your system. These tools are available fromhttp://www.foolabs.com/xpdf/download.html I am able to download this and use it easily from a dos window to convert a pdf file into a txt file. Question: how do i make these tools available to R, so that i can use the readPDF() function? Thank you in advance for any help, and I hope the above made sense. Tony Breyal ###OS = Windows Vista Ultimate sessionInfo() R version 2.8.0 (2008-10-20) i386-pc-mingw32 locale: LC_COLLATE=English_United Kingdom.1252;LC_CTYPE=English_United Kingdom. 1252;LC_MONETARY=English_United Kingdom. 1252;LC_NUMERIC=C;LC_TIME=English_United Kingdom.1252 attached base packages: [1] grid stats graphics grDevices utils datasets methods base other attached packages: [1] tm_0.3-1 XML_1.98-1 Snowball_0.0-3 RWeka_0.3-14 rJava_0.6-0 Matrix_0.999375-16 lattice_0.17-15 filehash_2.0 loaded via a namespace (and not attached): [1] proxy_0.4-1 __ [EMAIL PROTECTED] mailing listhttps://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ 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.
[R] Using n+1 instances of R to utilise n processors on one machine - something like R with tabbed browsing?
Dear R-help, Please forgive me if any of the following sounds naieve/confused, i've just got back from a mini-pub-crawl, slightly tipsy, and am feeling brave to ask a possibly silly question... also, not to shiny on the technical side of things. Problem - I need to text mine a collection of 10,000 plain text documents, all of which are sitting in a single folder. i don't have any money to buy a database package, and even if i did i have no idea how that would speed things up if i want to do all the processing in R Assumption - It is my understanding that R can only use one processor on a machine when handeling calculations. If you wanted to use 4 processors, than you would have to open up 4 seperate instances of R and share the work between them eg. give each instance of R 25% of the documents you want processed Question - It is possible to have one instance of R to divide the workload, and then that instance opens up 4 other instances of R to do the processing? Or, is sometihng akin to tabbed browsing, where you have one main window and several tabs, each corresponding to a different instance of R? appologies if none of hte above made sense :o) Clair xx O/S: Windows Vista R 2.8.0 __ 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.
[R] USAR2009 ***R/R-PLUS/S Conference Announcement Call For Papers - Las Vegas, USA
== USAR2009 R/R-PLUS/S CONFERENCE ANNOUNCEMENT CALL FOR PAPERS == The 2009 R/R-PLUS/S Conference will take place in Las Vegas,USA April 26-30, 2009 The meeting is open to all R/S-related users. www.xlsolutions-corp.com/usar2009 = HIGHLIGHTS = * 4 keynotes; 2 academia and 2 Industry * Over 33 sessions / 3 session tracks * Exhibit hall and Poster Session * R/R-PLUS/S-PLUS software training * Special Events Educational workshops * Networking opportunities * Social Events We welcome contributions on R/S-related topics from all fields, academic and professional. Submit your paper or poster abstract online. http://www.experience-rplus.com/subabstract.asp Papers may have a methological focus. All main conference and workshop proceedings will be published in the conference proceedings by Springer. Bests application papers win awards! ===Conference Participation If you have an interest in attending or presenting at this conference please let us know via email at [EMAIL PROTECTED] The conference web site will contain a form for indicating the topic of a presentation you are considering presenting. www.xlsolutions-corp.com/usar2009 ==Students, ask us how to attend free= __ 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.
[R] TIme Series AR to MA and (viceversa)
Hi, I am new to using R for Time series analysis. I was wondering if there are any functions that can convert ARMA or ARIMA time series into their corresponding AR or MA time series representations (by calculating the corresponding AR or MA coefficients). Thanks a lot Kris. __ 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.
[R] Courses*** R/Splus Fundamentals R Advanced Programming: November - December 2008 at 3 locations by XLSolutions Corp
XLSolutions Corporation (www.xlsolutions-corp.com) is proud to announce our*** R/Splus Fundamentals and Programming Techniques and R Advanced Programming***courses at 3 USA locations for November - December 2008. (1) R/Splus Fundamentals and Programming Techniques http://www.xlsolutions-corp.com/rplus.asp * New York City ** November 20-21, 2008 * San Francisco ** December 15-16, 2008 (2) R/Splus Advanced Programming http://www.xlsolutions-corp.com/rplus.asp * San Francisco ** December 18-19, 2008 Ask for group discount and reserve your seat Now - Earlybird Rates. Payment due after the class! Email Sue Turner: [EMAIL PROTECTED] Phone: 206-686-1578 Please let us know if you and your colleagues are interested in this class to take advantage of group discount. Register now to secure your seat! Cheers, Elvis Miller, PhD Manager Training. XLSolutions Corporation 206 686 1578 www.xlsolutions-corp.com [EMAIL PROTECTED] __ 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.
[R] Sweave Error
dear R users, I am using sweave to generate report for my data analysis. I recently updated R ro 2.8.0, and now I have the following results when compile the the tex file generated from R. This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %-line parsing enabled. entering extended mode (./Lajos.tex LaTeX2e 2005/12/01 Babel v3.8h and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, croatian, ukrainian, russian, bulgarian, czech, slovak, danish, dut ch, finnish, basque, french, german, ngerman, ibycus, greek, monogreek, ancient greek, hungarian, italian, latin, mongolian, norsk, icelandic, interlingua, tur kish, coptic, romanian, welsh, serbian, slovenian, estonian, esperanto, upperso rbian, indonesian, polish, portuguese, spanish, catalan, galician, swedish, loa ded. (/usr/share/texmf-texlive/tex/latex/base/report.cls Document Class: report 2005/09/16 v1.4f Standard LaTeX document class (/usr/share/texmf-texlive/tex/latex/base/size10.clo)) (/usr/share/texmf-texlive/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/share/texmf-texlive/tex/latex/amsmath/amstext.sty (/usr/share/texmf-texlive/tex/latex/amsmath/amsgen.sty)) (/usr/share/texmf-texlive/tex/latex/amsmath/amsbsy.sty) (/usr/share/texmf-texlive/tex/latex/amsmath/amsopn.sty)) ! LaTeX Error: File `Sweave.sty' not found. Type X to quit or RETURN to proceed, or enter new name. (Default extension: sty) who to solve the problem? -- claudio __ 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.
[R] TINN-R's R Explores - Available for other editors?
Hello, I am using TINN-R for working with R and for that purpose it is a very handy editor, in particular the R-Explorer that shows the existing objects and their properties is worth money. But I want to move to a more flexible editor (in particular for Latex) and was thinking of WinEdt (or maybe Eclipse, because of Java). I know they have capabilities to work directly with R, but has any other editor the same capabilities when it comes down to the R-Explorer? Best, Stefan __ 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.
[R] Multi matrix row-wise mapply?
Hi group! Suppose I have 2 matrices A and B of equal dimensions. I want to apply a function f to all corresponding pairs of rows from A and B in an efficient manner. Basically, I want mapply(f, data.frame(A), data.frame(B)) but for rows. How do I do it? Thanks, Andrey __ 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.
Re: [R] TINN-R's R Explores - Available for other editors?
On 21 окт, 12:04, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I am using TINN-R for working with R and for that purpose it is a very handy editor, in particular the R-Explorer that shows the existing objects and their properties is worth money. But I want to move to a more flexible editor (in particular for Latex) and was thinking of WinEdt (or maybe Eclipse, because of Java). I know they have capabilities to work directly with R, but has any other editor the same capabilities when it comes down to the R-Explorer? Best, Stefan You should definitely try Emacs with ESS package. Andrey __ 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.
[R] Misura precauzionale: Cambia il tuo codice di accesso!
__ 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.
[R] Problem loading package created with package.skeleton
Hi, i'm trying to build an r-package (Windows Vista, R 2.7.2), so i created one with the package.skeleton() command. After that i zipped it and tried to load it in R. Attaching the package via the Windows R-console menu 'Packages/Install package(s) from local zip-files' failed: / utils:::menuInstallLocal() Error in gzfile(file, r) : cannot open the connection In addition: Warning messages: 1: In zip.unpack(pkg, tmpDir) : error -1 in extracting from zip file 2: In gzfile(file, r) : cannot open compressed file 'MeinPacket/DESCRIPTION', probable reason 'No such file or directory'/ The library(package) command failed too: / library('MyPackage.zip') Error in library(MyPackage.zip) : there is no package called 'MyPackage.zip'/ I checked the current working directory and made sure that the package-zip was in it, but R couldn't find it anyway. Does anyone know how to get the package loaded? Thank you and best regards, Eli || __ 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.
[R] Courses*** R+/Splus (1) Fundamentals - (2) Advanced Programming : October 2008 at 3 locations by XLSolutions Corp
XLSolutions Corporation (www.xlsolutions-corp.com) is proud to announce our*** R+/Splus ***courses at 3 USA locations for October 2008. (1) R+/Splus Fundamentals and Programming Techniques http://www.xlsolutions-corp.com/rplus.asp * San Francisco ** October 23-24, 2008 * Princeton, NJ ** October 27-28, 2008 * Washington, DC ** October 30-31, 2008 (2) R+/Splus Advanced Programming http://www.xlsolutions-corp.com/rplus.asp * San Francisco ** October 27-28, 2008 * Seattle** October 30-31, 2008 Ask for group discount and reserve your seat Now - Earlybird Rates. Payment due after the class! Email Sue Turner: [EMAIL PROTECTED] Email us for group discounts. Email Sue Turner: [EMAIL PROTECTED] Phone: 206-686-1578 Please let us know if you and your colleagues are interested in this class to take advantage of group discount. Register now to secure your seat! Cheers, Elvis Miller, PhD Manager Training. XLSolutions Corporation 206 686 1578 www.xlsolutions-corp.com [EMAIL PROTECTED] __ 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.
[R] 3 Courses*** R/Splus Fundamentals and Programming Techniques: September 2008 at 3 locations by XLSolutions Corp
rXLSolutions Corporation (www.xlsolutions-corp.com) is proud to announce our*** R/Splus Fundamentals and Programming Techniques***course at 3 USA locations for September 2008. (1) R/Splus Fundamentals and Programming Techniques http://www.xlsolutions-corp.com/Rfund.htm * San Francisco ** September 22-23, 2008 * Princeton, NJ ** September 25-26, 2008 * Washington, DC ** September 29-30, 2008 Looking for R/Splus Advanced Programming? Please email sue Turner: [EMAIL PROTECTED] Ask for group discount and reserve your seat Now - Earlybird Rates. Payment due after the class! Email Sue Turner: [EMAIL PROTECTED] (1) R/Splus Fundamentals and Programming Techniques http://www.xlsolutions-corp.com/Rfund.htm (2) R/Splus Advanced Programming http://www.xlsolutions-corp.com/Radv.htm Email us for group discounts. Email Sue Turner: [EMAIL PROTECTED] Phone: 206-686-1578 Please let us know if you and your colleagues are interested in this class to take advantage of group discount. Register now to secure your seat! Cheers, Elvis Miller, PhD Manager Training. XLSolutions Corporation 206 686 1578 www.xlsolutions-corp.com [EMAIL PROTECTED] __ 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.
[R] warning message while using mice Multivariate Imputation by Chained Equations
Hi there, I am a beginner with R. Anyone could help to explain me what the following warning msg means? Warning messages: 1: In any(predictorMatrix[j, ]) : coercing argument of type 'double' to logical Got 6 of it...although further calculations were done. Because of this warning I am not sure if they are reliable since have no idea what exactly the warning is about. Could anyone please help with the explanation? I used mice Multivariate Imputation by Chained Equations (belonging to mice package) - the default version - predictive mean matching imp-mice(file) By using the command mice it is instead of using default version (which I was using in this case and got the warning msg) possible to create your own function which tells how the imputation data should be created. I would like to create that function saying that Bayes bootstrap of the known data should be imputed for those missing data. Any idea how that could be done?? Ana [[alternative HTML version deleted]] __ 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.
[R] 3 Courses*** R/Splus Fundamentals and Programming Techniques: September 2008 at 3 locations by XLSolutions Corp
XLSolutions Corporation (www.xlsolutions-corp.com) is proud to announce our*** R/Splus Fundamentals and Programming Techniques***course at 3 USA locations for September 2008. (1) R/Splus Fundamentals and Programming Techniques http://www.xlsolutions-corp.com/Rfund.htm * San Francisco ** September 22-23, 2008 * Princeton, NJ ** September 25-26, 2008 * Washington, DC ** September 29-30, 2008 Looking for R/Splus Advanced Programming? Please email sue Turner: [EMAIL PROTECTED] Ask for group discount and reserve your seat Now - Earlybird Rates. Payment due after the class! Email Sue Turner: [EMAIL PROTECTED] (1) R/Splus Fundamentals and Programming Techniques http://www.xlsolutions-corp.com/Rfund.htm (2) R/Splus Advanced Programming http://www.xlsolutions-corp.com/Radv.htm Email us for group discounts. Email Sue Turner: [EMAIL PROTECTED] Phone: 206-686-1578 Please let us know if you and your colleagues are interested in this class to take advantage of group discount. Register now to secure your seat! Cheers, Elvis Miller, PhD Manager Training. XLSolutions Corporation 206 686 1578 www.xlsolutions-corp.com [EMAIL PROTECTED] __ 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.
[R] lapply, sapply
Hello everybody, I have problem with a lapply command, which rather proves that I don't fully understand it. I want to extract from a list that consists of dataframes, the length of the first sequences from a given variable (its part of a simulation exercises). Below is code which does the job, but I think it should be possible to make it more compact. ### Example Data dat -list() dat[[1]] - data.frame(matrix( rbinom(40, 1, .8),nrow=5)) dat[[2]] - data.frame(matrix( rbinom(40, 1, .8),nrow=5)) Code x-sapply(dat,[,3)#Extracting the vector y-lapply(x,rle) #Counting the sequences which is returned as a list z-sapply(y,[, 1) #extracting the first element of the list of sequence counts final-sapply(z,[,1) #extracting the first number, which gives the length of the first sequence, which I want final ### Thanks for your help, Stefan __ 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.
[R] Eclipse/Statet: How to set breakpoints
Hi, I'm using the IDE Eclipse with the Statet-Plugin to develop R-code. Is there a possibility to set breakpoints for debugging in R-script files (just like in Java-code)? Cheers, Eli __ 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.
[R] 2 Courses*** R/Splus Advanced Programming : August 14-15 in Seattle ! by XLSolutions Corp
XLSolutions Corporation (www.xlsolutions-corp.com) is proud to announce our*** R/S Advanced Programming ***course in Seattle on August 14-15 and *** R/Splus Fundamentals and Programming Techniques*** course in New York City on July 28-29 Ask for group discount and reserve your seat Now - Earlybird Rates. Payment due after the class! Email Sue Turner: [EMAIL PROTECTED] (1) R/Splus Advanced Programming - Seattle, August 14-15 http://www.xlsolutions-corp.com/Radv.htm Course Outline: - Overview of R/S fundamentals: Syntax and Semantics - Class and Inheritance in R/S-Plus - Concepts, Construction and good use of language objects - Coercion and efficiency - Object-oriented programming in R and S-Plus - Advanced manipulation tools: Parse, Deparse, Substitute, etc. - How to fully take advantage of Vectorization - Generic and Method Functions - Search path, databases and frames Visibility - Working with large objects - Handling Properly Recursion and iterative calculations - Managing loops; For (S-Plus) and for() loops - Consequences of Lazy Evaluation - Efficient Code practices for large computations - Memory management and Resource monitoring - Writing R/S-Plus functions to call compiled code - Writing and debugging compiled code for R/S-Plus system - Connecting R/S-Plus to External Data Sources - Understanding the structure of model fitting functions in R/S-Plus - Designing and Packaging efficiently a new model function Email us for group discounts. Email Sue Turner: [EMAIL PROTECTED] Phone: 206-686-1578 (2) R/Splus Fundamentals and Programming Techniques*** course in New York City on July 28-29 http://www.xlsolutions-corp.com/Rfund.htm Please let us know if you and your colleagues are interested in this class to take advantage of group discount. Register now to secure your seat! Cheers, Elvis Miller, PhD Manager Training. XLSolutions Corporation 206 686 1578 www.xlsolutions-corp.com [EMAIL PROTECTED] __ 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.
[R] enscript states file for R scripts?
Hi group! GNU enscript is a free (as in freedom) text file decorator, which among other features can highlight source code files. The language syntax descriptions are provided via special states files. The standard distribution contains states files for the most popular languages (C, C++, Pascal, LaTeX, etc), but sadly there is no states file for R. Does anyone know if there is a place where I can obtain enscript states file for decorating R scripts? Many thanks! Andrey Paramonov __ 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.
Re: [R] enscript states file for R scripts?
On 15 июл, 13:23, hadley wickham [EMAIL PROTECTED] wrote: An alternative to enscript is highlight,http://www.andre-simon.de/doku/highlight/en/highlight.html, which does come with R highlighting built in. Hadley Thanks for pointing this out. But I think I actually need enscript highlighting. My ultimate goal is to enable R scripts highlighting in WebSVN, and it uses enscript. Or is highlight compatible with enscript? Andrey Paramonov __ 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.
[R] non-sample standard-deviation
Hi, R seems to use the 1/n-1-factor calculating the standard-deviation sd(). If i wat to get the non-sample standard-deviation i use sqrt(sd(x)^2*((n-1)/n)) Is there a parameter to get the sd()-function using the 1/n factor directly? Or is there any other function to do so? Thank you in advance :-) Best, Eli __ 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.
[R] WIERD: Basic computing in R
Can someone please enlighten me as to why the following happens? -2.7^8.6 [1] -5125.407 p- -2.7 q- 8.6 p^q [1] NaN R seems perfectly able to calculate -2.7^8.6, but fails when the exact same values are assigned to variables and then the computation is repeated. Thanks in advance for any suggetsions. Kris. __ 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.
Re: [R] median of grouped data
On 28 июн, 03:19, Bricklemyer, Ross S [EMAIL PROTECTED] wrote: I am having difficulty calculating the median of grouped data. I have 8 to 10 repeated measures per sample and I have successfully used the following code to calculate the average for each sample. libs.norm.preds.median[,7:9]-apply(libs.norm.preds.median[,7:9],MARGIN=2, FUN=ave,libs.norm.preds.median[,1]) You might want to create a wrapper around ave like this: myave - function(..., ave.FUN = mean) ave(..., FUN = ave.FUN) and pass needed ave.FUN parameter to apply. Andrey __ 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.
[R] Alternative of Cairo
Hi All, I am a new member to R programming. Am generating some visuals by using Cairo library. But Cairo is not compatible with all compilers(Box plot,histogram and RNA degradation plots-I would prefer to use some libraries rather than R native functions).Can anyone suggest an alternative for this library. Thanks in Advance Gireesh __ 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.
Re: [R] running R-code outside of R
On 25 июн, 09:28, Jim Porzak [EMAIL PROTECTED] wrote: The user of your R script sees only the outputs you create. The R source is hidden. But you may expose R sources via the web server if you wish. Andrey __ 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.
[R] R/S-Plus Fundamentals and Programming Techniques course in *** New YorkCity *** July 28-29 by XLSolutions Corp
Our July *** New York City *** R/S-Plus Fundamentals and Programming Techniques course is scheduled for: New York City / July 28-29, 2008 *** Please direct enquiries to Sue Turner: [EMAIL PROTECTED] Payment due AFTER the class Ask for Group Discount --- Looking for R Advanced course? It's comming up in Seattle on August 14-15, 2008 :) www.xlsolutions-corp.com/courselist.htm Email us for group discounts. Email Sue Turner: [EMAIL PROTECTED] Phone: 206-686-1578 Visit us: www.xlsolutions-corp.com/courselist.htm Please let us know if you and your colleagues are interested in this class to take advantage of group discount. Register now to secure your seat! Cheers, Elvis Miller, PhD Manager Training. XLSolutions Corporation 206 686 1578 www.xlsolutions-corp.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.
Re: [R] Question about copula-GARCH model
A simple approach is to assume that dependence structure between variables (which is characterized by copula) is constant throughout the process. In this case, you may apply log-likelihood estimation of copula parameters to ranked AR-GARCH process residuals. A more complicated approach is to invent a model of how copula parameters depend on the previous values of the process. This *might* provide a better description of some empirical effects. But in reality, these models are not reliable enough, because you are likely to deal with many more parameters than in univariate case, and there is no general way to estimate the parameters of copula evolution. However, attempts are still made (see for example package mgarchBEKK). Andrey __ 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.
Re: [R] Programming Concepts and Philosophy
On 20 июн, 11:06, Wacek Kusnierczyk [EMAIL PROTECTED] wrote: the result may be that the more beautiful the code, the more the performance sucks. Sad but true. Andrey __ 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.
Re: [R] combining two data frames (different question)
Try ?merge Andrey __ 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.
[R] qt with ncp37.62
help(qt) states that: ncpnon-centrality parameter delta; currently except for rt(), only for abs(ncp) = 37.62 so I would expect that calling qt with non-centrality parameter exceeding 37.62 should fail, instead e.g. calling mapply(function(x) qt(p = 0.9, df = 55, ncp = x),35:45) gives: [1] 40.21448 41.35293 42.49164 43.68862 44.82945 45.97048 47.11170 48.25310 [9] 49.39467 50.53639 51.67826 Warning messages: 1: In qt(p = 0.9, df = 55, ncp = x) : full precision was not achieved in 'pnt' 2: In qt(p = 0.9, df = 55, ncp = x) : full precision was not achieved in 'pnt' 3: In qt(p = 0.9, df = 55, ncp = x) : full precision was not achieved in 'pnt' so it seems calculation for (according to what is written in documentation) allowed values of ncp, i.e. in this case 35,36 and 37 is done and precision is checked, whereas calculation for the rest may be completely incorrect? Or was there any update of code (in pnt.c ?), allowing calculation of pt with higher ncp, not followed by documentation update? Thank you, Nikola Kaspříková __ 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.
[R] Random Forests regression by strata
Hello, I'm trying to sample in Random Forests by a factor, but it is a regression problem and I can't figure out how to do this (I can only see how to sample by strata in classification). Thanks Jesse Lasky __ 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.
[R] plot 7 * 3 matrix on DIN A4 pdf
Hello, I want to plot 21 scatter plots in a 7*3 matrix on a single A4 page (using mfcol). Below is an example, which -by and large- looks very close to the desired result. But I do not get it to fill out the whole page. If I specify the a different page size, the plots still do not fill out the whole page. Anybody an idea what to do? Maybe adjusting indvidiual plot size (if so, how?). Or is there a neater command to create a matrix of individual plots Best, Stefan pdf(file='c:/matrix1.pdf',paper='a4',pagecentre=F) x-c(rnorm(mean(100,mean=50,sd=10)),rnorm(mean(100,mean=50,sd=10))) par(mfcol=c(7,3)) par(pch=19) par(pty=m) #s makes a square plot par(cex=.1) par(cex.axis=7) par(omi=c(1,1,1,1)) axistick-c(0,10,20,30,40,50,60,70,80,90,100) par(mar=c(3, 5, 0, 0) + 0.1) plot(x,xlim=c(0,50),ylim=c(0,100),axes = FALSE) axis(2,ylab='',at=axistick) box(lty=1) plot(x,xlim=c(0,50), ylim=c(0,100),axes = FALSE) axis(2) box(lty=1) plot(x, xlim=c(0,50),ylim=c(0,100),axes = FALSE) axis(2) box(lty=1) plot(x,xlim=c(0,50), ylim=c(0,100),axes = FALSE) axis(2) box(lty=1) plot(x,xlim=c(0,50), ylim=c(0,100),axes = FALSE) axis(2) box(lty=1) plot(x,xlim=c(0,50), ylim=c(0,100),axes = FALSE) axis(2) box(lty=1) par(mar=c(3, 5 ,0, 0) + 0.1) plot(x,xlim=c(0,50), ylim=c(0,100),axes = FALSE) axis(2) axis(1,ylab='UAS_7') box(lty=1) par(mar=c(3, 0, 0, 0) + 0.1) plot(as.integer(Sex),GER_TOTAL,ylim=c(0,100),xlim=c(0,3),axes = FALSE,pch=12) box(lty=1) plot(x,ylim=c(0,100),xlim=c(0,3),axes = FALSE,pch=12) box(lty=1) plot(x,ylim=c(0,100),xlim=c(0,3),axes = FALSE,pch=12) box(lty=1) plot(x,ylim=c(0,100),xlim=c(0,3),axes = FALSE) box(lty=1) plot(x,ylim=c(0,100),xlim=c(0,3),axes = FALSE,pch=12) box(lty=1) plot(x,ylim=c(0,100),xlim=c(0,3),axes = FALSE,pch=12) box(lty=1) par(mar=c(3, 0, 0, 0) + 0.1) plot(as.integer(Sex),GER_F6,ylim=c(0,100),xlim=c(0,3),axes = FALSE) axis(1,at=c(1,2),ylab='Sex') box(lty=1) par(mar=c(3, 0, 0, 0) + 0.1) plot(x,xlim=c(0,100),ylim=c(0,100),axes = FALSE,pch=12) box(lty=1) plot(x,xlim=c(0,100), ylim=c(0,100),axes = FALSE) box(lty=1) plot(x, xlim=c(0,100),ylim=c(0,100),axes = FALSE) box(lty=1) plot(x, xlim=c(0,100),ylim=c(0,100),axes = FALSE) box(lty=1) plot(x, xlim=c(0,100),ylim=c(0,100),axes = FALSE,pch=12) box(lty=1) plot(x, xlim=c(0,100),ylim=c(0,100),axes = FALSE) box(lty=1) par(mar=c(3, 0, 0, 0) + 0.1) plot(x,xlim=c(0,100),ylim=c(0,100),axes = FALSE,pch=12) box(lty=1) axis(1,ylab='Sex') dev.off() __ 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.
[R] Finding dependencies and clusters in live survey data with a mix of independent variable types
I have a set of live data about customer satisfaction and desires of a live ecommerce site. There are only 311 survey responses. There were approximately 154 questions. A large fraction of these questions were questions with numerical answers (e.g. on a scale of 1 to 10 how satisfied are you with our service, how many months have you been a customer for, how old are you, how many computers do you own). A second large fraction of the questions had binary answers (e.g. do you own an ipod, do you think blogging will be more or less popular in 5 years time than it is now, do you use online video sites). The remaining data were multinomial answers (e.g. from which of these sources did you first find out about this site, which of these most closely describes the industry you are in). I am mostly interested in finding subsets of customers for whom some subset of survey answers best correlate with their answer to the question On a scale of 1 to 10, how would you rate our overall service? I am also interested in identifying market segments of like-minded individuals with similar interests and views and find out what they, as a group most want from the service in the future. I am aware of how to perform multiple linear regression using R but I am not sure how to 1. handle the binary variables and multinomial variables as independent variables 2. find a set of canonical independent variables which most closely correlate in combination to the overall service rating data 3. find market segments among the data by looking for clusters of like interests and views Are any of the above suitable for analysis by R? If so, do there exist example programs available which achieve similar things that I can study as guides? Thanks in advance for your contemplation. Charlie __ 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.
[R] Course*** R/S-Plus Advanced Programming ****by XLSolutions Corp / May 2008 in San Francisco
Announcing R/Splus Advanced Programming course: May 29-30, 2008 in San Francisco. *** half of the seats are already taken *** Please email for earlybird rates: Payments due after the class. R/Splus Advanced Programming Course Outline: Day 1 - Overview of R/S fundamentals: Syntax and Semantics - Class and Inheritance - Concepts, Construction and good use of Language Objects - Coercion and Efficiency - Object-oriented Programming in R and S-Plus - Taking advantage of fast objects and fast functions - Advanced Manipulation tools: Parse, Deparse, Substitute, etc. - How to fully take advantage of Vectorization - Generic and Method Functions - Search path, Databases and Frames Visibility (S-plus) Day 2 - Working with Large Objects - Handling Properly Recursion and Iterative Calculations - Managing loops; For (S-Plus) and for() loops - Consequences of Lazy Evaluation - Efficient Code Practices for Large Computations - Memory Management and Resource Monitoring - Writing R and S-plus Functions to call Compiled Code - Writing and Debugging Compiled Code for S-plus and R system - Connecting R to External Data Sources - Macros in R - Understanding the Structure of Model fitting Functions in R and S-plus - Designing and Packaging Efficiently a new model Function Payment due AFTER the class Email us for group discounts. Email Sue Turner: [EMAIL PROTECTED] Phone: 206-686-1578 Visit us: www.xlsolutions-corp.com/courselist.htm Please let us know if you and your colleagues are interested in this class to take advantage of group discount. Register now to secure your seat! Cheers, Elvis Miller, PhD Manager Training. XLSolutions Corporation 206 686 1578 www.xlsolutions-corp.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.
[R] Course: R/Splus Fundamentals and Programming Techniques.***April 2008*** in San Francisco and New York City
We've added 2 additional courses to our April Schedule: (++) R/S Fundamentals and Programming Techniques *** San Francisco / April 24-25, 2008 *** *** New York City / April 28-29, 2008 *** *** Seattle / April 21-22 Regards - Sue Original Message Subject: [BioC] XLSolutions 9 Courses: Upcoming March-April 2008 R/S+ Course Schedule by XLSolutions Corp From: Sue Turner [EMAIL PROTECTED] Date: Tue, March 04, 2008 12:23 pm To: [EMAIL PROTECTED] Our March-April 2008 R/S+ course schedule is now available. Please check out this link for additional information and direct enquiries to Sue Turner [EMAIL PROTECTED] Phone: 206 686 1578 --Can't see your city? Please email us! -- Ask for Group Discount --- www.xlsolutions-corp.com/courselist.htm (1) R/S System: Advanced Programming *** San Francisco / April 28-29, 2008 *** *** Salt Lake City / April 21-22, 2008 *** (2) R/S Fundamentals and Programming Techniques *** San Francisco / March 27-28, 2008 *** *** New York City / March 25-26, 2008 *** *** Seattle / April 21-22 (3) Data Mining: Practical Tools and Techniques in R/Splus *** San Franciso / April 24-25, 2008 *** (4) R/S System: Complementing and Extending Statistical Computing for SAS Users *** Raleigh / April 28-29, 2008 *** (5) Introduction to R/S+ programming: Microarrays Analysis and Bioconductor. *** Los Angeles / April 25-26, 2008*** (6) Microarrays Data Analysis with R/S+ and GGobi *** New York City / April 28-29, 2008*** www.xlsolutions-corp.com/courselist.htm Payment due AFTER the class Email us for group discounts. Email Sue Turner: [EMAIL PROTECTED] Phone: 206-686-1578 Visit us: www.xlsolutions-corp.com/courselist.htm Please let us know if you and your colleagues are interested in this class to take advantage of group discount. Register now to secure your seat! Cheers, Elvis Miller, PhD Manager Training. XLSolutions Corporation 206 686 1578 www.xlsolutions-corp.com ___ Bioconductor mailing list [EMAIL PROTECTED] https://stat.ethz.ch/mailman/listinfo/bioconductor Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor __ 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.
[R] XLSolutions 9 Courses: Upcoming March-April 2008 R/S+ Course Schedule by XLSolutions Corp
Our March-April 2008 R/S+ course schedule is now available. Please check out this link for additional information and direct enquiries to Sue Turner [EMAIL PROTECTED] Phone: 206 686 1578 --Can't see your city? Please email us! -- Ask for Group Discount --- www.xlsolutions-corp.com/courselist.htm (1) R/S System: Advanced Programming *** San Francisco / April 28-29, 2008 *** *** Salt Lake City / April 21-22, 2008 *** (2) R/S Fundamentals and Programming Techniques *** San Francisco / March 27-28, 2008 *** *** New York City / March 25-26, 2008 *** *** Seattle / April 21-22 (3) Data Mining: Practical Tools and Techniques in R/Splus *** San Franciso / April 24-25, 2008 *** (4) R/S System: Complementing and Extending Statistical Computing for SAS Users *** Raleigh / April 28-29, 2008 *** (5) Introduction to R/S+ programming: Microarrays Analysis and Bioconductor. *** Los Angeles / April 25-26, 2008*** (6) Microarrays Data Analysis with R/S+ and GGobi *** New York City / April 28-29, 2008*** www.xlsolutions-corp.com/courselist.htm Payment due AFTER the class Email us for group discounts. Email Sue Turner: [EMAIL PROTECTED] Phone: 206-686-1578 Visit us: www.xlsolutions-corp.com/courselist.htm Please let us know if you and your colleagues are interested in this class to take advantage of group discount. Register now to secure your seat! Cheers, Elvis Miller, PhD Manager Training. XLSolutions Corporation 206 686 1578 www.xlsolutions-corp.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.
[R] creating a matrix subset based on a threshold cutoff
Hi, I have a table of x rows and y columns. The table is huge and so i'd like to create a subset of the data containing rows where any of the y values are below a threshold, say 1e-4. Is there a simple way of doing this in R? thanks Rich __ 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.
Re: [R] creating a matrix subset based on a threshold cutoff
sorry, it would probably better be described as a table thanks On Tue Mar 4 11:28 , Henrique Dallazuanna sent: You have a table or matrix? if is matrix: set.seed(123) x - matrix(rnorm(100), 10, 10) cutoff - -1.5 do.call(rbind, apply(x, 1, function(.x).x[any(.x cutoff)])) On 04/03/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I have a table of x rows and y columns. The table is huge and so i'd like to create a subset of the data containing rows where any of the y values are below a threshold, say 1e-4. Is there a simple way of doing this in R? thanks Rich __ [EMAIL PROTECTED] mailing list [4]https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide [5]http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O References 1. javascript:top.opencompose('[EMAIL PROTECTED]','','','') 2. javascript:top.opencompose('[EMAIL PROTECTED]','','','') 3. javascript:top.opencompose('R-help@r-project.org','','','') 4. file://localhost/tmp/parse.pl?redirect=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-help 5. file://localhost/tmp/parse.pl?redirect=http%3A%2F%2Fwww.R-project.org%2Fposting-guide.html __ 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.
Re: [R] creating a matrix subset based on a threshold cutoff
that's great, thanks On Tue Mar 4 12:29 , Henrique Dallazuanna sent: I think that this shoul works: do.call(rbind, apply(as.table(x), 1, function(.x).x[any(.x cutoff)])) Change as.table(x) by your table On 04/03/2008, rich @ thevillas. eclipse. co. uk [EMAIL PROTECTED] wrote: sorry, it would probably better be described as a table thanks On Tue Mar 4 11:28 , Henrique Dallazuanna sent: You have a table or matrix? if is matrix: set.seed(123) x - matrix(rnorm(100), 10, 10) cutoff - -1.5 do.call(rbind, apply(x, 1, function(.x).x[any(.x cutoff)])) On 04/03/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I have a table of x rows and y columns. The table is huge and so i'd like to create a subset of the data containing rows where any of the y values are below a threshold, say 1e-4. Is there a simple way of doing this in R? thanks Rich __ [EMAIL PROTECTED] mailing list [5]https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide [6]http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O References 1. javascript:top.opencompose('[EMAIL PROTECTED]','','','') 2. javascript:top.opencompose('[EMAIL PROTECTED]','','','') 3. javascript:top.opencompose('[EMAIL PROTECTED]','','','') 4. javascript:top.opencompose('R-help@r-project.org','','','') 5. file://localhost/tmp/parse.pl?redirect=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-help 6. file://localhost/tmp/parse.pl?redirect=http%3A%2F%2Fwww.R-project.org%2Fposting-guide.html __ 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.
[R] XLSolutions 9 Courses: Upcoming March-April 2008 R/S+ Course Schedule by XLSolutions Corp
Our March-April 2008 R/S+ course schedule is now available. Please check out this link for additional information and direct enquiries to Sue Turner [EMAIL PROTECTED] Phone: 206 686 1578 --Can't see your city? Please email us! -- Ask for Group Discount --- www.xlsolutions-corp.com/courselist.htm (1) R/S System: Advanced Programming *** San Francisco / April 28-29, 2008 *** *** Salt Lake City / April 21-22, 2008 *** (2) R/S Fundamentals and Programming Techniques *** San Francisco / March 27-28, 2008 *** *** New York City / March 25-26, 2008 *** *** Seattle / April 21-22 (3) Data Mining: Practical Tools and Techniques in R/Splus *** San Franciso / April 24-25, 2008 *** (4) R/S System: Complementing and Extending Statistical Computing for SAS Users *** Raleigh / April 28-29, 2008 *** (5) Introduction to R/S+ programming: Microarrays Analysis and Bioconductor. *** Los Angeles / April 25-26, 2008*** (6) Microarrays Data Analysis with R/S+ and GGobi *** New York City / April 28-29, 2008*** www.xlsolutions-corp.com/courselist.htm Payment due AFTER the class Email us for group discounts. Email Sue Turner: [EMAIL PROTECTED] Phone: 206-686-1578 Visit us: www.xlsolutions-corp.com/courselist.htm Please let us know if you and your colleagues are interested in this class to take advantage of group discount. Register now to secure your seat! Cheers, Elvis Miller, PhD Manager Training. XLSolutions Corporation 206 686 1578 www.xlsolutions-corp.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.
[R] R on a computer cluster
Dear all, I usually run R on my laptop with Windows XP Professional. Now I really want to run R on a computer cluster (4 processors) with Suse Linux Enterprise ver. 10. But I am new with computer cluster. Should I modify my functions in order to use the greater performance and availability than that provided by my laptop? Is there any R manual on parallel computations on multiple-processor? Any suggestion on a basic tutorial on this topic? Thank you. -- Gabriele Accetta U. O. Biostatistics (C.S.P.O) Via Cosimo il Vecchio, 2 50139 FLORENCE - ITALY __ 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.
[R] data manipulation for plotting
Hi, i'd like to plot some data that I have with the value on the x axis and freq on the y axis. So, I need to calculate the freq a value is seen within my data vector for example, say i have a vector of data data=c(1,1,1,4,5,5,6) I want values-c(1,4,5,6) freq-c(3,1,2,1) in order to enable me to plot this. Sorry, i'm new to R. What is standard procedure here for plotting the data vector? cheers Rich __ 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.
[R] axis help
Hi, i'm having trouble with my x and y axis. The commands i'm using are below. The problem is that the y axis starts at coordinate 0,1 and the x axis starts at coordinate 0,0. As far as I know the y axis can't start at 0 (because it's log scaled) ,so I would like to position the x axis at 0,1 but don't know how to do this. Could anyone advise? Thanks Rich df3-data.frame(x=c(10,11,115,12,13,14,16,17,18,21,22,23,24,26,27,28,29,3,30 ,32,33,34,35,4,41,45,5,50,52,56,58,6,67,6738,68,7,8,9,),fq=c(8,11,1,2,4,4,2, 2,6,3,4,2,2,1,1,1,4,51,3,1,1,1,1,35,1,1,19,2,1,1,1,14,1,1,1,10,13,5,),fqcvd= c(5,8,1,1,3,3,2,2,5,3,4,2,2,0,1,1,3,13,2,1,1,1,1,17,1,0,11,2,1,1,1,7,1,1,1,7 ,7,1,),fqcan=c(1,1,0,2,1,1,1,0,3,0,2,0,1,0,1,0,1,4,2,1,1,0,0,4,1,1,2,2,0,1,0 ,2,0,1,1,2,3,1,),fqnondis=c(8,11,1,2,4,4,2,2,6,3,4,2,2,1,1,1,4,50,3,1,1,1,1, 34,1,1,19,2,1,1,1,14,1,1,1,10,12,5,)) k3-with(df3,rep(x,times=fq)) kcvd3-with(df3,rep(x,times=fqcvd)) kcvd3-c(kcvd3,rep(NA,times=length(k3)-length(kcvd3))) kcan3-with(df3,rep(x,times=fqcan)) kcan3-c(kcan3,rep(NA,times=length(k3)-length(kcan3))) knondis3-with(df3,rep(x,times=fqnondis)) knondis3-c(knondis3,rep(NA,times=length(k3)-length(knondis3))) boxplot(kcvd3,kcan3,knondis3,log='y', ylim=c(1,4000),at=c(0.5,0.6,0.7),boxwex= 0.05,axes=FALSE,col = c(yellow,orange,red)) axis(1,at=c(0,0.6,1.1,1.6,2.1,2.6,3.1,3.6),labels=c(0,3,4,5,6,7,8,NA)) axis(2) __ 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.
[R] boxplot axis labelling
Hi, i'm very new to R, so sorry for what i'm sure is a very basic question. I'm producing a boxplot with the data below: df3-data.frame( x=c(10,11,115,12,13,14,16,17,18,21,22,23,24,26,27,28,29,3,30,32,33,34,35,4,4 1,45,5,50,52,56,58,6,67,6738,68,7,8,9), fq=c(8,11,1,2,4,4,2,2,6,3,4,2,2,1,1,1,4,51,3,1,1,1,1,35,1,1,19,2,1,1,1,14,1, 1,1,10,13,5), fqcvd=c(5,8,1,1,3,3,2,2,5,3,4,2,2,0,1,1,3,13,2,1,1,1,1,17,1,0,11,2,1,1,1,7,1 ,1,1,7,7,1), fqcan=c(1,1,0,2,1,1,1,0,3,0,2,0,1,0,1,0,1,4,2,1,1,0,0,4,1,1,2,2,0,1,0,2,0,1, 1,2,3,1), fqnoncan=c(8,11,0,2,4,4,2,0,6,0,4,0,2,0,1,0,4,50,3,1,1,0,0,35,1,1,19,2,0,1,0 ,14,0,1,1,10,13,5)) k3-with(df3,rep(x,times=fq)) kcvd3-with(df3,rep(x,times=fqcvd)) kcvd3-c(kcvd3,rep(NA,times=length(k3)-length(kcvd3))) kcan3-with(df3,rep(x,times=fqcan)) kcan3-c(kcan3,rep(NA,times=length(k3)-length(kcan3))) knoncan3-with(df3,rep(x,times=fqnoncan)) knoncan3-c(knoncan3,rep(NA,times=length(k3)-length(knoncan3))) dfnew-data.frame(kcvd3,kcan3,knoncan3,k3) boxplot(dfnew,log='y', ylim=c(1,4000)) This produces x axis labels 'kcvd3,kcan3,knoncan3,k3', one for each plot as you might expect. However, I would like all plot to sit next to each other with a single label. Could anybody help? cheers Rich __ 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.
[R] Course*** R/S-Plus Advanced Programming ****by XLSolutions Corp
Happy New Year Our *** San Francisco *** R/Splus Advanced Programming is scheduled for January 24-25, 2008 Please email for earlybird rates: Payments due after the class. R/Splus Advanced Programming Course Outline: Day 1 - Overview of R/S fundamentals: Syntax and Semantics - Class and Inheritance - Concepts, Construction and good use of Language Objects - Coercion and Efficiency - Object-oriented Programming in R and S-Plus - Taking advantage of fast objects and fast functions - Advanced Manipulation tools: Parse, Deparse, Substitute, etc. - How to fully take advantage of Vectorization - Generic and Method Functions - Search path, Databases and Frames Visibility (S-plus) Day 2 - Working with Large Objects - Handling Properly Recursion and Iterative Calculations - Managing loops; For (S-Plus) and for() loops - Consequences of Lazy Evaluation - Efficient Code Practices for Large Computations - Memory Management and Resource Monitoring - Writing R and S-plus Functions to call Compiled Code - Writing and Debugging Compiled Code for S-plus and R system - Connecting R to External Data Sources - Macros in R - Understanding the Structure of Model fitting Functions in R and S-plus - Designing and Packaging Efficiently a new model Function Payment due AFTER the class Email us for group discounts. Email Sue Turner: [EMAIL PROTECTED] Phone: 206-686-1578 Visit us: [2]www.xlsolutions-corp.com/courselist.htm Please let us know if you and your colleagues are interested in this class to take advantage of group discount. Register now to secure your seat! Cheers, Elvis Miller, PhD Manager Training. XLSolutions C orporation 206 686 1578 [3]www.xlsolutions-corp.com References 1. file://localhost/tmp/tmpxwgWPu.html#Compose 2. http://www.xlsolutions-corp.com/courselist.htm 3. http://www.xlsolutions-corp.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.
[R] integration
Dear All, I need to perform a numerical integration of one dimensional fucntions. The extrems of integration are both finite and the functions I'm working on are quite complicated. I have already tried both area() and integrate(), but they do not perform well: area() is very slow and integrate() does not converge. Are in R other functions for numerical integration of one dimentional functions? Thanks in advance Davide Tiscali.Fax: il tuo fax online in promo fino al 31 dicembre, paghi 15€ e ricarichi 20€ __ 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.
[R] Course***January 2008 *** San Francisco New York City *** R/S-Plus Advanced Programming by XLSolutions Corp
Happy Holidays Folks! XLSolutions Corporation has scheduled 2 great R/Splus Advanced programming courses. More course can be viewed on our website. R/Splus Advanced Programming* San Francisco January 21-22, 2008 R/Splus Advanced Programming* New York City January 24-25, 2008 Please email for earlybird rates: Payments due after the class. R/Splus Advanced Programming Course Outline: Day 1 - Overview of R/S fundamentals: Syntax and Semantics - Class and Inheritance - Concepts, Construction and good use of Language Objects - Coercion and Efficiency - Object-oriented Programming in R and S-Plus - Taking advantage of fast objects and fast functions - Advanced Manipulation tools: Parse, Deparse, Substitute, etc. - How to fully take advantage of Vectorization - Generic and Method Functions; S4 (S-Plus 6), etc. - Search path, Databases and Frames Visibility (S-plus) Day 2 - Working with Large Objects - Handling Properly Recursion and Iterative Calculations - Managing loops; For (S-Plus) and for() loops - Consequences of Lazy Evaluation - Efficient Code Practices for Large Computations - Memory Management and Resource Monitoring - Writing R and S-plus Functions to call Compiled Code - Writing and Debugging Compiled Code for S-plus and R system - Connecting R to External Data Sources - Macros in R - Understanding the Structure of Model fitting Functions in R and S-plus - Designing and Packaging Efficiently a new model Function Payment due AFTER the class Email us for group discounts. Email Sue Turner: [EMAIL PROTECTED] Phone: 206-686-1578 Visit us: www.xlsolutions-corp.com/courselist.htm Please let us know if you and your colleagues are interested in this class to take advantage of group discount. Register now to secure your seat! Cheers, Elvis Miller, PhD Manager Training. XLSolutions Corporation 206 686 1578 www.xlsolutions-corp.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.
[R] Die Chance des Jahres 2007 für [EMAIL PROTECTED] t.math.ethz.ch - Jetzt zuschlagen und endlich nebenb ei Geld verdienen
Hallo [EMAIL PROTECTED], sehen Sie sich jetzt Ihre Chance des Jahres 2007 an. Sie wurden ausgewaehlt fuer diese einmalige Gelegenheit! Setzen sie jetzt zum Schlussspurt an und kassieren Sie für Ihre Arbeit endlich das Geld, was Sie verdient haben. Verdoppeln und verdreifachen, ach was, vervielfachen sie Ihren Einsatz ! Das stellt alles in den Schatten, wie Sie bisher Ihr Geld verdient haben. Oder zweifeln Sie weiter und es wird immer das Gleiche für Sie bleiben - Leben um zu arbeiten oder Arbeiten um zu leben - Was bevorzugen Sie ??? Wo gibt´s denn so etwas ? Hier: http://www.ilalfun.com P.S. Bevor Sie auf dumme Gedanken kommen - Ich versende diese Mail für meine Bekannte, die auch in der Liste ist !!! Herzlichst Ihr Alex James __ 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.
[R] importing Expressions
Hi, I need to import some expressions form Mathematica into R editor for coding purposes. If I just copy the expression from Mathematica into R editor, I obtian unuseful string. For instance, if I want to copy the expression beta/sigma from Mathematica, I have \!\(β\/σ\) in the R editor. Does there exist a way to import this kind of expressions from Mathematica into R? many thanks Davide __ mi in tutta Italia e navighi SENZA LIMITI A SOLI 9,95 € AL MESE FIN ree_tel_cc/ __ 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.
[R] Unsere Empfehlung des Hauses persoenlich fuer [EMAIL PROTECTED]
Holen sie sich jetzt 2400 EUR in Cash ab Und gehen Sie dabei einen sicheren und koeniglichen Weg !!! Alles mehrsprachig und einfach erklaert, starten Sie jetzt !!! Für jeden erhaeltlich, ganz einfach: Anklicken, Registrieren, abholen !!! WO ERHALTEN SIE SONST 2400 Euro in 12 Monaten aufgeteilt ? http://www.2400-euro.eu Exklusiv für Deutschland, Oesterreich Schweiz ! Uebrigens - Günter Abele hat hiermit gestern und vorgestern 7400 Euro verdient bzw. gewonnen. __ 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.
[R] Unsere persoenliche Empfehlung des Hauses fuer [EMAIL PROTECTED] - Exklusiv für Sie
Holen sie sich jetzt 2400 EUR in Cash ab Und gehen Sie dabei einen sicheren und koeniglichen Weg !!! Alles mehrsprachig und einfach erklaert, starten Sie jetzt !!! Für jeden erhaeltlich, ganz einfach: Anklicken, Registrieren, abholen !!! WO ERHALTEN SIE SONST 2400 Euro in 12 Monaten aufgeteilt ? http://www.doppelt-kassieren.com Exklusiv für Deutschland, Oesterreich Schweiz ! Uebrigens - Michaela Gothaer hat hiermit gestern und vorgestern 6100 Euro verdient bzw. gewonnen. __ 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.