[R] New York Times - R - article a fraud?

2009-02-03 Thread eugene dalt
I worked on some ad data before and I found NYT article very biaised and not far from a fraud... Anyone knows if they got money from a - company - to play 'R'? Check out the title: R U Ready for R? Seems to me this title was stolen from XLSolutionswww.xlsolutions-corp.com and they

[R] problem with subsetting in compating one column with a vector

2009-02-03 Thread venkata kirankumar
Hi all, I got one problem withsubset()function hear i executed: findings1-subset(findings,SUBJECTSID==SUBJECTS1$SUBJECTSID,select=c(SUBJECTSID,ORGNUMRES)) hear SUBJECTS1$SUBJECTSID vector contains nearly 65 values the problem is after comparing and subsetting its not giving

Re: [R] Lattice histogram with vertical lines

2009-02-03 Thread Dieter Menne
David Scott d.scott at auckland.ac.nz writes: I would like to add some vertical lines to a lattice plot of histograms. What I am after is a lattice version of abline(v = 1234). The lattice histogram plot is just: histogram( ~ LTSE | approach, data = arrivals) As a little variation

[R] KS test for gumbel distribution

2009-02-03 Thread Wang Yi
Dear all, I have a question about the ks.test() function, in order to perform a Kolmogorov-Smirnov test. I have a sample, and I fitted it to the 2-parameter gumbel distirbution using gum.fit () fuction in the ismev package. I would like to perform a KS test if its distribution is gumble

[R] Collapsing panel data

2009-02-03 Thread Karina Knaus
Dear R-helpers, I've been thinking about this for some time, maybe someone can help. I have a fairly large dataset with thousands of firms, call the a, b, c, etc.. such as [,1] [,2] [1,] A0.5 [2,] 0.2 [3,] 0.3 [4,] B0.1 [5,] 0.9 [6,] C0.4 Or to put it

Re: [R] Event sequence analysis

2009-02-03 Thread Hans W. Borchers
Jean-Pierre Müller jean-pierre.mueller at unil.ch writes: Maybe TraMineR ? http://mephisto.unige.ch/traminer HTH, Thanks for pointing out TraMineR; it is a very interesting package on sequences of events and states in social science. Unfortunately, it appears not provide the kind of

Re: [R] Difference between a[[i]] and a[i]

2009-02-03 Thread Wacek Kusnierczyk
Rolf Turner wrote: On 3/02/2009, at 12:45 PM, David Epstein wrote: I'm sure I've read about the difference between a[[i]] and a[i] in R, but I cannot recall what I read. Even more disturbing is the fact that I don't know how to search the newsgroup for this. All the different combinations

Re: [R] New York Times - R - article a fraud?

2009-02-03 Thread Ajay ohri
you should wait for the article on R by fox news Calvin Trillin - Health food makes me sick. On Tue, Feb 3, 2009 at 6:19 AM, eugene dalt eugened...@yahoo.com wrote: I worked on some ad data before and I found NYT article very biaised and not far from a fraud... Anyone knows if they got money

[R] Odp: Collapsing panel data

2009-02-03 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 03.02.2009 09:43:04: Dear R-helpers, I've been thinking about this for some time, maybe someone can help. I have a fairly large dataset with thousands of firms, call the a, b, c, etc.. such as [,1] [,2] [1,] A0.5 [2,]

Re: [R] Lattice histogram with vertical lines

2009-02-03 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 03.02.2009 09:20:25: David Scott d.scott at auckland.ac.nz writes: I would like to add some vertical lines to a lattice plot of histograms. What I am after is a lattice version of abline(v = 1234). The lattice histogram plot is just:

Re: [R] New York Times - R - article a fraud?

2009-02-03 Thread Rau, Roland
Hi, it seems to me that this article in the NYT started many discussions. Maybe I missed it but are there some responses to the article by Ihaka Gentleman? Or maybe by John Chambers as the central person for the development of S (hope I am not mistaken here)? I'd be more interested in their

Re: [R] Using getSymbols

2009-02-03 Thread Gabor Grothendieck
xts has a bracket notation like this: u - getSymbols(PPIACO, src=FRED, verbose=TRUE, auto.assign=FALSE) u[1970::] and zoo uses window just like ts does: z - as.zoo(u) window(z, start = 1970-01-01) On Mon, Feb 2, 2009 at 11:58 PM, Shruthi Jayaram shruthi.jayaram...@gmail.com wrote: Hi, How

[R] Odp: problem with subsetting in compating one column with a vector

2009-02-03 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 03.02.2009 09:11:52: Hi all, I got one problem withsubset()function hear i executed: findings1-subset(findings,SUBJECTSID==SUBJECTS1$SUBJECTSID,select=c + (SUBJECTSID,ORGNUMRES)) Error in subset(findings, SUBJECTSID ==

[R] ThinkCell type waterfall charts in R?

2009-02-03 Thread Kerstin
Hi all, with PowerPoint and ThinkCell one can draw something they call waterfall chart and it looks like this: http://www.think-cell.com/products/images/waterfall.gif I found discussions on waterfall charts in the archive of this mailinglist, but unfortunately they looked totally different.

Re: [R] ThinkCell type waterfall charts in R?

2009-02-03 Thread Jim Lemon
Kerstin wrote: Hi all, with PowerPoint and ThinkCell one can draw something they call waterfall chart and it looks like this: http://www.think-cell.com/products/images/waterfall.gif I found discussions on waterfall charts in the archive of this mailinglist, but unfortunately they looked

Re: [R] New York Times - R - article a fraud?

2009-02-03 Thread Mark Difford
Or maybe by John Chambers as the central person for the development of S ... I'd be more interested in their opinions than another outrage! Hi Roland, The Trevor who Eugene Dalt is referring to is Trevor Hastie. Trevor was at ATT Bell Labs at the time and worked/has worked very closely with

Re: [R] New York Times - R - article a fraud?

2009-02-03 Thread Mark Difford
... And perhaps I might also have added that one of the strong precepts of this list is that credit be given where credit is due. Without such acknowledgement, which of course is founded on a strong principle, the Open-source community is likely eventually to fall that on its face... Regards,

[R] RCurl FTPUpload

2009-02-03 Thread Herve Fulchiron
Hello, I am trying to solve a problem but with no success for the past 4 days. I use the RCurl package with R 2.8.1, and when I try to use the function FTPUpload, it uploads the file but does not stop. It repeats the content of the file without stopping and the destination file keeps getting

Re: [R] sas.get under Linux

2009-02-03 Thread Adrian Dusa
On Monday 02 February 2009, Frank E Harrell Jr wrote: [...] Stat/Transfer has a menu option to read the SAS format catalog but I haven't tried it. Been there, done that... didn't get the t-shirt though. I tried everything I believe, but with no avail. Thanks again, Adrian -- Adrian Dusa

[R] plot multiple time series

2009-02-03 Thread Shimrit Abraham
Hi, I have a dataframe containing a date object in the first column and numeric data in two other columns, for a total of three columns. I would like to plot the 2 numeric data columns against the dates in one window. How do I do this? It is easy to do if only one data series is to be plotted

Re: [R] How do I get my IT department to bless R?

2009-02-03 Thread Wacek Kusnierczyk
Stavros Macrakis wrote: Perhaps rather than globally saying it is utter nonsense you would care to refute what you think is wrong about it? -s PS Tyrants? Wow, we are really dramatizing life at work now that was so much in the style of '/Windoze Sucks!!!' /[1] wants

Re: [R] Lattice histogram with vertical lines

2009-02-03 Thread David Scott
On Tue, 3 Feb 2009, Petr PIKAL wrote: Hi r-help-boun...@r-project.org napsal dne 03.02.2009 09:20:25: David Scott d.scott at auckland.ac.nz writes: I would like to add some vertical lines to a lattice plot of histograms. What I am after is a lattice version of abline(v = 1234). The

Re: [R] reading .odf spreadsheet into R

2009-02-03 Thread Sarah Goslee
I don't know of an elegant solution - I store most of my data as csv files so it can be easily accessed by all sorts of software tools - but for small tasks you can can just copy it and then use read.table(clipboard) Sarah On Mon, Feb 2, 2009 at 10:34 PM, stephen sefick ssef...@gmail.com wrote:

Re: [R] Large file size while persisting rpart model to disk

2009-02-03 Thread Prof Brian Ripley
On Tue, 3 Feb 2009, tan wrote: I am using rpart to build a model for later predictions. To save the prediction across restarts and share the data across nodes I have been using save to persist the result of rpart to a file and load it later. But the saved size was becoming unusually large (even

Re: [R] Problems in Recommending R

2009-02-03 Thread Neil Shephard
Adam D. I. Kramer-2 wrote: I respectfully disagree. In my repeated experience, I have seen colleagues in industry and university simply write R off as too difficult or not worth the effort based on purely cosmetic grounds, and then at my urging and after some instruction embrace R as

Re: [R] problem with subsetting in compating one column with a vector

2009-02-03 Thread David Freedman
Do you really want to use '==' ? How about '%in%', as in findings1-subset(findings,SUBJECTSID %in% ==SUBJECTS1$SUBJECTSID, select=c(SUBJECTSID,ORGNUMRES)) David Freedman dvkirankumar wrote: Hi all, I got one problem withsubset()function hear i executed:

Re: [R] pairs() help - colour histograms on diagonal

2009-02-03 Thread Duncan Murdoch
Nathan S. Watson-Haigh wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'd like to be able to colour histograms along the diagonal using the colours stored in colnames(d): d blackbluebrowncyan 1 0.96405751 -0.02964390 -0.060147424 -0.06460070 2

Re: [R] Problems in Recommending R

2009-02-03 Thread Barry Rowlingson
2009/2/3 Neil Shephard nsheph...@gmail.com: Again I'd disagree, perhaps the most widely used suite of software has a very simple and clean web-site with few bells and whistles, ditto for one of the most popular text-editors. I am of course referring to the suite of GNU utilities

Re: [R] Sweave

2009-02-03 Thread Ista Zahn
I strongly recommend using AucTeX for this. When inside a code chunk emacs behaves just like it does in ess mode, and when not in a code chunk emacs behaves like it usually does when editing LaTeX files in AucTeX. It's pretty great. As for your particular problem, I can't tell what's going on. If

Re: [R] Problems in Recommending R

2009-02-03 Thread Warren Young
Stavros Macrakis wrote: anti-alias the demonstration graphic. The current graphic makes R graphics seem (falsely!) to be very primitive. I'm afraid I don't know how to do the anti-aliasing myself. Simply re-plotting it in 2.8.1 built with Cairo support produces something better:

[R] Automatic creation of columns in zoo object

2009-02-03 Thread Sergey Goriatchev
Hello, everyone I have a question. Assume I have the following zoo object: me.la - structure(c(1524.75, 1554.5, 1532.25, 1587.5, 1575.25, 1535.5, 1550, 1493.5, 1492.5, 1472.25, 1457.5, 1442.75, 1399, 1535.75, 1565.25, 1543.5, 1598.5, 1586.5, 1547, 1561.5, 1504.75, 1503.75, 1483.75, 1468.75,

Re: [R] Problems in Recommending R

2009-02-03 Thread Sarah Goslee
On Tue, Feb 3, 2009 at 7:26 AM, Barry Rowlingson b.rowling...@lancaster.ac.uk wrote: ... I'd say there was a direct relationship between website glossiness and amount of usage - more people use Notepad than Emacs. In which direction the causality (if any) works is an interesting

Re: [R] Problems in Recommending R

2009-02-03 Thread Warren Young
friedrich.lei...@stat.uni-muenchen.de wrote: For technical reasons there are some conditions: the homepage is maintained via SVN like the R sources, so all should be plain HTML, no content management system etc. Consider using a static templating system, or a higher-level document language

Re: [R] sub question

2009-02-03 Thread Wacek Kusnierczyk
Gabor Grothendieck wrote: This comes from the all.vars function and would indicate a bug in that base R function. hush! a user bug, i presume? but indeed, all.vars(expression(foo(bar)())) # character(0) all.names(expression(foo(bar)())) # foo bar vQ f = function(a) function()

Re: [R] Problems in Recommending R

2009-02-03 Thread Neil Shephard
Barry Rowlingson wrote: 2009/2/3 Neil Shephard nsheph...@gmail.com: Again I'd disagree, perhaps the most widely used suite of software has a very simple and clean web-site with few bells and whistles, ditto for one of the most popular text-editors. I am of course referring to the suite

[R] color and fontfamily in lattice

2009-02-03 Thread Leandro Marino
Hi, I am having some problems using bwplot(lattice) in my data. I want change some parameters: 1) Fontfamily to serif 2) The size of the font 3) Put it in a bold face 4) Change de color of the lines How can I do that?! Now, I am using this to plot my boxplot. dados -

Re: [R] Automatic creation of columns in zoo object

2009-02-03 Thread Gabor Grothendieck
Not sure why you need to have all these extra columns if they are only zero anyways. Could you not append them when you get data for them? Are these placeholders really of any value? At any rate its done using cbind or merge like this: library(zoo) library(chron) nms - sub(.Comdty, tr,

Re: [R] Automatic creation of columns in zoo object

2009-02-03 Thread Sergey Goriatchev
Dear Gabor, Yes, these extra columns are of value as I later write code that fills in those columns row by row conditional on some event taking place, and when there is no event there should be zero in a particular cell. BIG thanks for the quick reply. I will try the code out right away! Kind

[R] axes

2009-02-03 Thread Montserrat, Francesc
Hello there, Is there a functionality or command that generates axes in the shape of a capital Greek letter gamma (upside down L) ? I use these for making sediment profiles. I have read through help-lists, tried different things and asked several people but never got a satisfactory result.

[R] Problem about SARMA model forcasting

2009-02-03 Thread 刘人润
Hello, Guys: I'm from China, my English is poor and I'm new to R. The first message I sent to R help meets some problems, so I send again. Hope that I can get useful suggestions from you warm-hearted guys. Thanks. I builded a multiplicative seasonal ARMA model to a series named cDownRange. And

Re: [R] Problems in Recommending R

2009-02-03 Thread Wacek Kusnierczyk
Warren Young wrote: Far more serious problems: - Use of frames. The usability problems of frames are well known, and are justified only in a few special cases. A content-heavy site like r-project.org is not one of them, if only because of the bookmarking issue. the framing problem has

Re: [R] Problems in Recommending R

2009-02-03 Thread hadley wickham
Again I'd disagree, perhaps the most widely used suite of software has a very simple and clean web-site with few bells and whistles, ditto for one of the most popular text-editors. I am of course referring to the suite of GNU utilities (http://www.gnu.org/) that make a working GNU/Linux

Re: [R] Automatic creation of columns in zoo object

2009-02-03 Thread Sergey Goriatchev
It works perfectly! Thank you, Gabor, for the quick solution and for letting me learn sub() function. Supreme! :-) Regards, Sergey On Tue, Feb 3, 2009 at 15:05, Gabor Grothendieck ggrothendi...@gmail.com wrote: Not sure why you need to have all these extra columns if they are only zero

Re: [R] Automatic creation of columns in zoo object

2009-02-03 Thread Gabor Grothendieck
That's not really in the spirit of R. Normally one works with whole objects at a time. You might wish to rethink your entire approach to this. On Tue, Feb 3, 2009 at 9:11 AM, Sergey Goriatchev serg...@gmail.com wrote: Dear Gabor, Yes, these extra columns are of value as I later write code

Re: [R] Problems in Recommending R

2009-02-03 Thread Gabor Grothendieck
On Tue, Feb 3, 2009 at 9:20 AM, hadley wickham h.wick...@gmail.com wrote: Again I'd disagree, perhaps the most widely used suite of software has a very simple and clean web-site with few bells and whistles, ditto for one of the most popular text-editors. I am of course referring to the suite

Re: [R] Problems in Recommending R

2009-02-03 Thread hadley wickham
1. avoid clicking on the R version 2.8.1 link - that takes you to a directory listing of strangely named files 2. recognise that you need to click on an CRAN (what is a cran?) 3. successfully select a mirror that is up-to-date (with no information about which mirrors are up-to-date)

Re: [R] Problems in Recommending R

2009-02-03 Thread Mark Difford
Hi All, Before these things be set in stone, it should be noted that it would be a real mistake to have a miscalculated statistical object on R's Homepage. Imagine if SAS found out! Fact is, the manner in which the percentage contribution of each PC to the overall inertia is calculated in the

Re: [R] color and fontfamily in lattice

2009-02-03 Thread Sundar Dorai-Raj
Try this: dados - data.frame(varsep = factor(rep(1:2,10)), i = runif(20)) library(lattice) font.settings - list( font = 2, cex = 2, fontfamily = serif) my.theme - list( box.umbrella = list(col = red), box.rectangle = list(col =

Re: [R] axes

2009-02-03 Thread Duncan Murdoch
On 2/3/2009 9:18 AM, Montserrat, Francesc wrote: Hello there, Is there a functionality or command that generates axes in the shape of a capital Greek letter gamma (upside down L) ? I use these for making sediment profiles. I have read through help-lists, tried different things and asked several

Re: [R] Problems in Recommending R

2009-02-03 Thread Duncan Murdoch
On 2/3/2009 9:32 AM, Gabor Grothendieck wrote: On Tue, Feb 3, 2009 at 9:20 AM, hadley wickham h.wick...@gmail.com wrote: Again I'd disagree, perhaps the most widely used suite of software has a very simple and clean web-site with few bells and whistles, ditto for one of the most popular

Re: [R] Problems in Recommending R

2009-02-03 Thread Peter Dalgaard
hadley wickham wrote: 1. avoid clicking on the R version 2.8.1 link - that takes you to a directory listing of strangely named files Yes, this is of course much harder than avoiding to read the two bullet points labeled Getting Started 2. recognise that you need to click on an CRAN

Re: [R] sub question

2009-02-03 Thread Wacek Kusnierczyk
Peter Dalgaard wrote: Wacek Kusnierczyk wrote: Gabor Grothendieck wrote: This comes from the all.vars function and would indicate a bug in that base R function. hush! a user bug, i presume? but indeed, all.vars(expression(foo(bar)())) # character(0)

[R] lapply and aggregate function

2009-02-03 Thread Patrick Hausmann
Dear list, I have two things I am struggling... # First set.seed(123) myD - data.frame( Light = sample(LETTERS[1:2], 10, replace=T), Feed = sample(letters[1:5], 20, replace=T), value=rnorm(20) ) # Mean for Light myD$meanLight - unlist( lapply(

Re: [R] reading .odf spreadsheet into R

2009-02-03 Thread Gabor Grothendieck
If you do look at that you might be able to modify read.xls in gdata package. It uses perl code to read xls files so you would already have the infrastructure R code all set out for you. On Tue, Feb 3, 2009 at 10:09 AM, Marc Schwartz marc_schwa...@comcast.net wrote: I have not used it, but if

Re: [R] lapply and aggregate function

2009-02-03 Thread David Freedman
You might want to look at the doBy package For (1), you could use summaryBy(value~Light+Feed,data=myD, FUN=mean) and for (2), the transformBy function would be helpful David Freedman Patrick Hausmann wrote: Dear list, I have two things I am struggling... # First set.seed(123) myD

Re: [R] Problems in Recommending R

2009-02-03 Thread Warren Young
Neil Shephard wrote: Perhaps this is a deliberate design and serves as an intelligence test. If you can't navigate through to find the correct download you're really going to struggle getting started with R ;-D Yyeahhh...look how much that sort of stance has helped the cause of Linux on

[R] South West\Wales User Group

2009-02-03 Thread Richard Weeks
Hello R users, I've come to the conclusion there are no R user groups in the South West and Wales area (UK), i.e. somewhere where regular users of R can simply meet up, discuss R problems, new R technologies, etc on a social level. If there are such groups, could someone please post the

[R] OT: Reference for SIC/BIC

2009-02-03 Thread JLucke
Generally smart people, I need a recent reference for using the Schwarz/Bayesian information criterion for model fitting in a frequentist stepwise regression. Joe [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] Problems in Recommending R

2009-02-03 Thread John C Frain
Having listened to the complains I would like to say that I disagree. I like the Cran web set up. Given the amount of material it contains it is relatively easy to find things. It would be helpful if one read some of the material such as the FAQ or the R for windows FAQ or even the

Re: [R] sub question

2009-02-03 Thread Peter Dalgaard
Wacek Kusnierczyk wrote: (a) do not descend recursively into the function part (first element) of a call (b) do descend, unless it is a name if it is a name, how would you descend? By calling a recursive function which has it as the argument. It's not a problem unless you want it to be

Re: [R] reading .odf spreadsheet into R

2009-02-03 Thread Marc Schwartz
I have not used it, but if you are at all comfortable with Perl, you might want to look at the Spreadsheet::Read module: http://search.cpan.org/~HMBRAND/Spreadsheet-Read/Read.pm There is a wiki article here: http://howto.wikia.com/wiki/Howto_read_OpenOffice_OpenDocument_spreadsheets_in_Perl

Re: [R] Problems in Recommending R

2009-02-03 Thread hadley wickham
On Tue, Feb 3, 2009 at 9:03 AM, Peter Dalgaard p.dalga...@biostat.ku.dk wrote: hadley wickham wrote: 1. avoid clicking on the R version 2.8.1 link - that takes you to a directory listing of strangely named files Yes, this is of course much harder than avoiding to read the two bullet points

Re: [R] Problems in Recommending R

2009-02-03 Thread Mike Lawrence
One of my colleagues is a interdisciplinary PhD in Design and Psychology and he has an in with a design school where we might be able to get students to take on the redesign of the website. He asks: In order to ensure efficient consumption of resources and maximize our return on investment,

Re: [R] Problems in Recommending R

2009-02-03 Thread hadley wickham
The most useful thing (and quite rightly so) on the front page is the link the the FAQ which should be the starting point for anyone looking at any new software, and answers/explains everything thats pertinent! (At least thats what I read first when I start using new software and have

[R] R-CPCA

2009-02-03 Thread Rino Ragno
Dear Ben Bolker, searching for a R code able to do the CPCA I found a message by you on https://stat.ethz.ch/. In that message you said you have something I am looking for. Would you share with me? I ma stuck with a commercial software (GOLPE) that is not developed anymore, therefore I'd

Re: [R] lapply and aggregate function

2009-02-03 Thread hadley wickham
# Second set.seed(321) myD - data.frame( Light = sample(LETTERS[1:2], 10, replace=T), value=rnorm(20) ) w1 - tapply(myD$value, myD$Light, mean) w1 # w1 # A B # 0.4753412 -0.2108387 myfun - function(x) (myD$value w1[x] myD$value w1[x] * 1.5) I

Re: [R] R-CPCA

2009-02-03 Thread Ben Bolker
Rino Ragno rino.ragno at uniroma1.it writes: Dear Ben Bolker, searching for a R code able to do the CPCA I found a message by you on https://stat.ethz.ch/. In that message you said you have something I am looking for. Would you share with me? I ma stuck with a commercial software

[R] ANOVA in R

2009-02-03 Thread Samor Gandhi
Hi, I'm using a repeated measures ANOVA in R using lme(). The SAS code would be: PROC MIXED DATA=[data set below]; CLASS pid treat period time seq; MODEL Y = seq period treat time treat*time; REPEATED time / SUBJECT=pid TYPE=cs;RUN, I donot have SAS, instead I have R and I would

Re: [R] Problems in Recommending R

2009-02-03 Thread Neil Shephard
hadley wrote: The most useful thing (and quite rightly so) on the front page is the link the the FAQ which should be the starting point for anyone looking at any new software, and answers/explains everything thats pertinent! (At least thats what I read first when I start using new

Re: [R] Problems in Recommending R

2009-02-03 Thread Neil Shephard
Warren Young wrote: Yyeahhh...look how much that sort of stance has helped the cause of Linux on the desktop. World domination has been a year or two away for the last 10 years. (Speaking as one who uses Linux every day, and used it as his main desktop at home for many years before

Re: [R] Large file size while persisting rpart model to disk

2009-02-03 Thread tan
Dear Prof. Ripley, Thanks for the quick reply. I do notice an environment... in the print output. I assume it is used to keep copies of the initial data used for the model. - Is it safe to assume that it would not affect any other functionality, apart from the usage of those particular

Re: [R] Problems in Recommending R

2009-02-03 Thread Uwe Ligges
Hadley wickham wrote: The most useful thing (and quite rightly so) on the front page is the link the the FAQ which should be the starting point for anyone looking at any new software, and answers/explains everything thats pertinent! (At least thats what I read first when I start using new

[R] 5 Courses*** R/Splus Fundamentals R Advanced Programming: March - April 2009 at USA locations by XLSolutions Corp

2009-02-03 Thread s...@xlsolutions-corp.com
XLSolutions Corporation (www.xlsolutions-corp.com) is proud to announce our*** R/Splus Fundamentals and Programming Techniques and R Advanced Programming***courses at USA locations for March - April 2009. (1) R/Splus Fundamentals and Programming Techniques

Re: [R] R-CPCA

2009-02-03 Thread Peter Dalgaard
Ben Bolker wrote: Rino Ragno rino.ragno at uniroma1.it writes: Dear Ben Bolker, searching for a R code able to do the CPCA [...] For amusement, try googling that acronym... -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO

Re: [R] lapply and aggregate function

2009-02-03 Thread ONKELINX, Thierry
Have a look at cast() form the reshape package. library(reshape) set.seed(123) myD - data.frame( Light = sample(LETTERS[1:2], 10, replace=T), Feed = sample(letters[1:5], 20, replace=T), value=rnorm(20) ) cast(myD, Light ~ ., fun = mean) cast(myD, Feed ~ ., fun =

Re: [R] Problems in Recommending R

2009-02-03 Thread Wacek Kusnierczyk
Gabor Grothendieck wrote: On Tue, Feb 3, 2009 at 9:20 AM, hadley wickham h.wick...@gmail.com wrote: Again I'd disagree, perhaps the most widely used suite of software has a very simple and clean web-site with few bells and whistles, ditto for one of the most popular text-editors. I am of

[R] how to rotate y-axis tick labels

2009-02-03 Thread Hong Qin
Hello, I need advice on how to rotate the y-axis tick labels by 90 degree clockwise. This must be a question that has been asked frequently, but I did not find it in the archived R-help messages. Thanks, Hong [[alternative HTML version deleted]]

Re: [R] Problem about SARMA model forcasting

2009-02-03 Thread Gerard M. Keogh
Saji, This may help. Your model is (1,0,1)X(0,1,1)S giving difference polynomials nonseasonal (1,0,1) = (1-ar1*B) = (1-ma1*B) seasonal (0,1,1)S = (1-B**S)= (1-sma1*B**S) giving: (1-ar1*B)X(1-B**S) x_t = (1-ma1*B)X(1-sma1*B**S) a_t multiplying out: x_t - x_(t-S) -

Re: [R] how to rotate y-axis tick labels

2009-02-03 Thread Marc Schwartz
on 02/03/2009 11:01 AM Hong Qin wrote: Hello, I need advice on how to rotate the y-axis tick labels by 90 degree clockwise. This must be a question that has been asked frequently, but I did not find it in the archived R-help messages. See ?par and take note of 'las': # Default 'las = 0'

[R] How to show variables used in lm function call?

2009-02-03 Thread Pele
Hello R users, I am new to R and am wondering if anyone can help me out with the following issue: I wrote a function to build ts models using different inputs, but when R displays the call for a model, I cannot tell which variables it is using because it shows the arguments instead of the real

Re: [R] Problems in Recommending R

2009-02-03 Thread Ajay ohri
How much time do you think is needed to read 133 pages of FAQ. Regards, Ajay www.decisionstats.com On Tue, Feb 3, 2009 at 10:04 PM, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: Hadley wickham wrote: The most useful thing (and quite rightly so) on the front page is the link the the

Re: [R] ThinkCell type waterfall charts in R?

2009-02-03 Thread Greg Snow
Without knowing how your data is formatted or how you intend to link the information together, all we can do is reconsctruct the plot from scratch. Here is one way to do that (change whatever values you want to tweek the look): plot( c(1,10), c(0,95), type='n', axes=F, xlab='', ylab='',

Re: [R] How to show variables used in lm function call?

2009-02-03 Thread Gabor Grothendieck
Pick off the names in the first two lines of the function body and then paste them into a formula, converting to a real formula object and then make your call: mylm - function(dep, indep, env = parent.frame()) { depnm - deparse(substitute(dep)) indepnm - deparse(substitute(indep))

Re: [R] Problems in Recommending R

2009-02-03 Thread Patrick Burns
Ajay ohri wrote: How much time do you think is needed to read 133 pages of FAQ. About 132.5 / 133 more times longer than most people are wanting to spend. Patrick Burns patr...@burns-stat.com +44 (0)20 8525 0696 http://www.burns-stat.com (home of The R Inferno and A Guide for the Unwilling

Re: [R] Beveridge Nelson Decomposition

2009-02-03 Thread ezivot
AFAIK there is no function to automatically compute the BN decomposition from a univariate time series in R. However, it is easy to compute by brute force from the output of an arima model fit to your data. A more elegant way would be to put your model in state space form and use the technique

[R] SOM package:How to fine tune parameters in two steps?

2009-02-03 Thread Gabriel Ibarra
Hi all:I am trying to fit a SOM which is usually carried out in two steps. At each step, different parameters (learning rate, neighbourhood and number of epochs) need to be used.The SOM package is based on SOM-PAK (http://www.cis.hut.fi/research/papers/som_tr96.ps.Z). In the HTML help

Re: [R] sub question

2009-02-03 Thread Peter Dalgaard
Wacek Kusnierczyk wrote: Gabor Grothendieck wrote: This comes from the all.vars function and would indicate a bug in that base R function. hush! a user bug, i presume? but indeed, all.vars(expression(foo(bar)())) # character(0) all.names(expression(foo(bar)())) # foo bar Semantic

[R] R installation in a multiple-user Windows environment

2009-02-03 Thread Jonathan Greenberg
We're having some issues with installing R in a multiple user Windows environment (e.g. when a user installs a package, there are errors linked to attempting to install certain files into restricted directories). Is there a readme for how to install R properly for multiple users? Thanks!

Re: [R] sub question

2009-02-03 Thread Wacek Kusnierczyk
Peter Dalgaard wrote: Gabor Grothendieck wrote: On Sat, Jan 31, 2009 at 6:01 PM, Wacek Kusnierczyk th some additional boring pedantry wrt. ?gsubfn, which says: If 'replacement' is a formula instead of a function then a one line function is created whose body is the right hand side of

[R] Large file size while persisting rpart model to disk

2009-02-03 Thread tan
I am using rpart to build a model for later predictions. To save the prediction across restarts and share the data across nodes I have been using save to persist the result of rpart to a file and load it later. But the saved size was becoming unusually large (even with binary, compressed mode).

Re: [R] reading .odf spreadsheet into R

2009-02-03 Thread Erich Neuwirth
Using unoconv (http://dag.wieers.com/rpm/packages/unoconv/) might be a solution. stephen sefick wrote: I have searched the archives and I did not find the answer to my question. Is there a way to read in a .odf spreadsheet without modification to a .csv file. I am analyzing my classes scores

Re: [R] ThinkCell type waterfall charts in R?

2009-02-03 Thread Kerstin
Jim Lemon wrote: Kerstin wrote: Hi all, with PowerPoint and ThinkCell one can draw something they call waterfall chart and it looks like this: http://www.think-cell.com/products/images/waterfall.gif I found discussions on waterfall charts in the archive of this mailinglist, but

[R] Model (Y) from left-censored independant variable (s)

2009-02-03 Thread Boucher Etienne
Hi all; I'm trying to model a response variable (Y) from one (and eventually more...) independant left-censored variable (X*) In other words, X* is a random variable with values 0 - inf. Thus, let c=0 X*= x if x= c X*= c if x c Does anyone knows a function or package in [R] enabling to model Y

Re: [R] How do I get my IT department to bless R?

2009-02-03 Thread Warren Young
Stavros Macrakis wrote: Condescendingly assuming that the IT department is run by idiots whose decisions are ruled by emotional attachments (as one correspondent suggested), or that they are irrationally prejudiced against free/open source, and that it is obvious and irrefutable that you know

Re: [R] sub question

2009-02-03 Thread Gabor Grothendieck
This comes from the all.vars function and would indicate a bug in that base R function. f = function(a) function() paste(a, a, sep=) all.vars(~ fo(o)()) character(0) On Tue, Feb 3, 2009 at 8:24 AM, Wacek Kusnierczyk waclaw.marcin.kusnierc...@idi.ntnu.no wrote: Peter Dalgaard wrote: Gabor

[R] Multiple statements in tryCatch

2009-02-03 Thread Neil Beddoe
Hi, tryCatch seems to be evaluating the all expressions wrapped in it before passing control to the error handling function. For example, the code below will try to evaluate results even though the call to odbcConnect fails. I was hoping that the mechanism would work in the same way as a C++

[R] non linear regression with nls

2009-02-03 Thread lauramorg...@bluewin.ch
Hello, I'm a beginner with R and it's the first time I'm using the R-help list... I hope I'm in the right place, if not: Sorry!! I need to do non linear regressions on a data set which columns are: river.namePortata PTG.P PO4.P NT.NNH4.N NO3.N BOD5SiO2 I need to predict

[R] SAS language to R :interview

2009-02-03 Thread Ajay ohri
Dear List, Please find a frank interview with Phil Rack, creator of Bridge to R ( from both SAS and WPS interfaces). For those unaware of WPS- it is basically a SAS language compiler (read SAS code,writes SAS code,Reads and writes SAS datasets) ,priced at 660 $ a licence ( or estimated 10 times

[R] R: unable to install packages

2009-02-03 Thread Vaz Joao (QPT TO EPA)
Hi, I'm running R version 2.8.1 on Windows and I'm having quite a lot of trouble just to install package RODBC. When I run command install.packages(RODBC), the following error message appears: Warning: unable to access index for repository http://cran.pt.r-project.org/bin/windows/contrib/2.8

Re: [R] plot multiple time series

2009-02-03 Thread Gabor Grothendieck
The quantmod package has graphics that are specific to securities. The zoo package has plot.zoo and xyplot.zoo . On Tue, Feb 3, 2009 at 6:30 AM, Shimrit Abraham shimrit.sabra...@gmail.com wrote: Hi, I have a dataframe containing a date object in the first column and numeric data in two other

  1   2   >