Re: [R] Matlab inv() and R solve() differences

2009-01-30 Thread Peter Dalgaard
Joseph P Gray wrote: I submit the following matrix to both MATLAB and R x= 0.133 0.254 -0.214 0.116 0.254 0.623 -0.674 0.139 -0.214 -0.674 0.910 0.011 0.116 0.139 0.011 0.180 MATLAB's inv(x) provides the following 137.21 -50.68 -4.70 -46.42 -120.71 27.28 -8.94 62.19 -58.15

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

2009-01-30 Thread Barry Rowlingson
2009/1/29 Daniel Viar dan.v...@gmail.com: How does one get an all Microsoft shop on board with allowing users to user R? An 'all Microsoft shop' is what exactly? There is nothing on your PC that isn't from Microsoft? That makes me think that you're either going to be forced to do your

Re: [R] R DCOMServer Manager 2.0

2009-01-30 Thread Dieter Menne
Smita.KUMAR at rbs.com writes: We use R DCOMServer Manager 2.0, this application uses RGUI 2.3.0 as one of its components. We are planning to upgrade to the latest version of RGUI 2.8.0 but found that R DCOMServer manager is not compatible with the latest version. Check the messages at:

[R] ERROR: compilation failed for package 'RdbiPgSQL'

2009-01-30 Thread Bucher Elmar
Dear Srinivas Iyyer, I know you wrote this error statement nearly two year ago. But yesterday night I had the same problem. So here is the solution. If you use debian distribution (I use sage) you have to install the following packages to compile RdbiPgSQL: postgresql-8.1 and libpq-dev. You

[R] Equivalent of Hold On MatLab Command

2009-01-30 Thread mauede
Does R have a graphic command equivalent of MatLab Hold On ? I am trying to sabve on a pdf file a composite drawing. I first declare the canvas size, then I define the layout, finally I generate the 4 plots according to layout order. Eventually I close the pdf file (dev.off()). The resulting PDF

Re: [R] Matlab inv() and R solve() differences

2009-01-30 Thread Cleber Nogueira Borges
Hello, is there a upper limit to kappa value where I can consider a matrix well-conditioned? Cleber Kingsford Jones wrote: I suppose the solution is unstable because x is ill-conditioned: x [,1] [,2] [,3] [,4] [1,] 0.133 0.254 -0.214 0.116 [2,] 0.254 0.623

[R] error message with roxygen

2009-01-30 Thread David Hajage
Hello useRs, I'm trying to use the Roxygen package. Here my code file : #' A packge to check Roxygen's sanity #' @name helloRoxygen-package #' @docType package NA And my R code to generate the package : library(roxygen) package.skeleton(helloRoxygen, code_files = roxy.r, force = T)

Re: [R] plotting lines with missing data for x values

2009-01-30 Thread Duncan Murdoch
Gareth Campbell wrote: I have some data (REE plots - geochemistry) where I have values 1:14 for the x axis, but have no data for some x values. Here for example, let's say that I don't have data for x=2,5,8. So x-1:14 y-c(4, NA, 5, 9, NA, 3.4, 8, NA, 19, 22, 12, 14, 15.3, 15) if I plot the

Re: [R] scoping rules for 'for' [was - Re: for/if loop ]

2009-01-30 Thread Patrick Burns
'The R Inferno' page 36. 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 S User) SnowManPaddington wrote: Hi ya, thanks a lot everyone!! I changed rr:ii-1 to rr:(ii-1) and the code works!!! I finally get

[R] Factor Analysis-factanal function

2009-01-30 Thread Ocaña Riola, Ricardo
Dear friends, I'm using R to produce the following Factor Analysis: matriz.cor-hetcor(matrix(as.factor(data), ncol=variables, byrow=T))$correlations factanal(x=data, factors=2, covmat=matriz.cor, scores='regression') Then the screen output shows the following message: Error en

Re: [R] Matlab inv() and R solve() differences

2009-01-30 Thread Berend Hasselman
Joseph P Gray wrote: I submit the following matrix to both MATLAB and R x= 0.133 0.254 -0.214 0.116 0.254 0.623 -0.674 0.139 -0.214 -0.674 0.910 0.011 0.116 0.139 0.011 0.180 MATLAB's inv(x) provides the following 137.21 -50.68 -4.70 -46.42 -120.71 27.28 -8.94 62.19

[R] Problem installing RMySQL (S4R.h:40:17: error: S.h: No such file or directory?)

2009-01-30 Thread Dan Bolser
Hi, I'm trying to install RMySQL and I keep hitting errors. My computer is: uname -a Linux cricket 2.6.18-92.1.22.el5PAE #1 SMP Tue Dec 16 12:36:25 EST 2008 i686 i686 i386 GNU/Linux I have set the following environment settings: export PKG_LIBS=-L/usr/lib/mysql -lmysqlclient export

Re: [R] Accessing R as a Web service (UNCLASSIFIED)

2009-01-30 Thread Paul Hiemstra
Google for R and soap to get information on running R on webserver using soap. cheers, Paul Neiderer, Andrew (Civ, ARL/CISD) wrote: Classification: UNCLASSIFIED Caveats: NONE I am new to R and somewhat to Web server programming. I am a Java programmer, however, and have done quite a bit

Re: [R] tab characters

2009-01-30 Thread Marie Sivertsen
I see 'The R Inferno' being refered quiet often recently. But it was now pointed by Duncan Murdoch that for example the statement concerning variables in a for loop is not correct in there (page 62). As I can not find any information about the book been reviewed by anyone I have a question: is

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

2009-01-30 Thread Neil Shephard
Daniel Viar wrote: I currently use R at work under the radar, but there's a chance I could loose that access. I'd like to get our company to feel comfortable with open source and R in particular. Does anyone have any experience with their company's IT department and management that

Re: [R] Problem installing RMySQL (S4R.h:40:17: error: S.h: No such file or directory?)

2009-01-30 Thread Jeffrey Horner
Dan Bolser wrote: Hi, I'm trying to install RMySQL and I keep hitting errors. My computer is: uname -a Linux cricket 2.6.18-92.1.22.el5PAE #1 SMP Tue Dec 16 12:36:25 EST 2008 i686 i686 i386 GNU/Linux I have set the following environment settings: export PKG_LIBS=-L/usr/lib/mysql

Re: [R] Matlab inv() and R solve() differences

2009-01-30 Thread Peter Dalgaard
Berend Hasselman wrote: Joseph P Gray wrote: I submit the following matrix to both MATLAB and R x= 0.133 0.254 -0.214 0.116 0.254 0.623 -0.674 0.139 -0.214 -0.674 0.910 0.011 0.116 0.139 0.011 0.180 MATLAB's inv(x) provides the following 137.21 -50.68 -4.70 -46.42

Re: [R] Q about how to use Anova.mlm

2009-01-30 Thread John Fox
Dear Paul, -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of pgseye Sent: January-29-09 10:07 PM To: r-help@r-project.org Subject: Re: [R] Q about how to use Anova.mlm Thanks a lot for that John - really helpful. I

[R] From z to Rho

2009-01-30 Thread LE PAPE Gilles
Hi, when performing a spearman_test stratified by a given factor in package coin, how is it possible to obtain the value of Rho, the Spearman correlation coefficient ? Thanks in advance Gilles (F) [[alternative HTML version deleted]] __

Re: [R] Factor Analysis-factanal function

2009-01-30 Thread John Fox
Dear Ricardo, Factor scores are linear combinations of the original variables and therefore to get factor scores, factanal() needs the data, not just the correlation matrix among the variables. Perhaps what you want is the factor-score coefficient matrix. Since you're apparently using a varimax

Re: [R] Problem installing RMySQL (S4R.h:40:17: error: S.h: No such file or directory?)

2009-01-30 Thread Prof Brian Ripley
Looks like you installed R from an RPM and missed the R-devel RPM. On Fri, 30 Jan 2009, Dan Bolser wrote: Hi, I'm trying to install RMySQL and I keep hitting errors. My computer is: uname -a Linux cricket 2.6.18-92.1.22.el5PAE #1 SMP Tue Dec 16 12:36:25 EST 2008 i686 i686 i386 GNU/Linux I

Re: [R] tab characters

2009-01-30 Thread Duncan Murdoch
On 1/30/2009 7:19 AM, Marie Sivertsen wrote: I see 'The R Inferno' being refered quiet often recently. But it was now pointed by Duncan Murdoch that for example the statement concerning variables in a for loop is not correct in there (page 62). As I can not find any information about the book

[R] princomp - varimax - factanal

2009-01-30 Thread Alberto Maceda Veiga
Hi! I am trying to analyse with R a database that I have previously analysed with SPSS. Steps with SPSS: Factorial analysis Extraction options : I select = Principal component analysis Rotation: varimax Steps with R: I have tried it with varimax function with factanal or with princomp...and

Re: [R] tab characters

2009-01-30 Thread Peter Dalgaard
Marie Sivertsen wrote: I see 'The R Inferno' being refered quiet often recently. But it was now pointed by Duncan Murdoch that for example the statement concerning variables in a for loop is not correct in there (page 62). As I can not find any information about the book been reviewed by

Re: [R] Equivalent of Hold On MatLab Command

2009-01-30 Thread Richard . Cotton
Does R have a graphic command equivalent of MatLab Hold On ? I am trying to sabve on a pdf file a composite drawing. I first declare the canvas size, then I define the layout, finally I generate the 4 plots according to layout order. Eventually I close the pdf file (dev.off()). The

[R] Rgraphviz install

2009-01-30 Thread June Wong
Hi I've tried several times and followed what others suggest in installing Rgraphviz (https://stat.ethz.ch/pipermail/bioconductor/2008-June/022838.html) But I could not load library(Rgraphviz). There's a message that 'This application has failed to start because libcdt-4.dll was not found'

[R] lmer and weights

2009-01-30 Thread Gasper Cankar
I'm using R2.8.1 and trying to do some nested modelling using lmer and weights. When I multiply/divide weights with a constant, variance of groups intercept changes, but variance of the residual doesn't (using unconditional model). Shouldn't they change equally? Are there any specifications on

[R] OO programming S3/S4 paradigm - General question

2009-01-30 Thread julien cuisinier
Hi, Being relatively new to OO programming and not so old on R, I noticed the possibility to do OO programming in R. But it seems there is two paradigms S3 that seems the old one but is the one used in the R.oo package and S4 which seems more recent As a starting point, which one is

[R] [R-pkgs] np 0.30-1 (nonparametric kernel smoothing methods for mixed data types) is available on CRAN...

2009-01-30 Thread User Jracine Jeffrey S. Racine
Dear R users, Version 0.30-1 of the np package has been released and uploaded to CRAN. The np package provides nonparametric kernel smoothing methods for mixed data types. We encourage anyone using the package to upgrade to the latest version. Description: This package provides a variety of

[R] Subsetting without partial matches

2009-01-30 Thread Jonathan Dushoff
I have a list of observations of individuals. I would like to make a list of individuals, with a data frame of observations for each individual. The following code usually works, but not always -- # Make a list of empty data

Re: [R] OO programming S3/S4 paradigm - General questio

2009-01-30 Thread Gabor Grothendieck
S3 is the original OO approach in R. It is the predominant one and the simplest one. That's the one to use if you are starting out. You may never, in fact, need to go beyond that. S4 builds on S3 so learning S3 won't be a waste of time even if you decide to use S4 later. S4 is substantially

Re: [R] tab characters

2009-01-30 Thread Marie Sivertsen
Thank you both Peter and Duncan for explanations. 'The R Inferno' is indeed not so much introduction but I find it useful to know about how I can go wrong in simple things before I do. Mvh. Marie On Fri, Jan 30, 2009 at 3:03 PM, Peter Dalgaard p.dalga...@biostat.ku.dkwrote: Marie Sivertsen

Re: [R] princomp - varimax - factanal

2009-01-30 Thread stephen sefick
Maybe look into vegan - although this is not my area of specialty (assuming I have one at all). good luck On Fri, Jan 30, 2009 at 9:00 AM, Alberto Maceda Veiga amac...@ub.edu wrote: Hi! I am trying to analyse with R a database that I have previously analysed with SPSS. Steps with SPSS:

[R] How to collect arrays in an array?

2009-01-30 Thread Suresh_FSFM
Dear R-Experts, Seek your help. Please let me know how arrays of different sizes can be collected in one array. suppose I want to collect following arrays in one array. How can I do so? array(1): #row=3, #col=4(these columns store data of different types) array(2): #row=6, #col=4 array(3):

Re: [R] From z to Rho

2009-01-30 Thread Mike Lawrence
Do these functions help? #Fisher's r-to-z: fr2z - function(r) atanh(r) #Fisher's z-to-r: fz2r - function(z) tanh(z) On Fri, Jan 30, 2009 at 9:29 AM, LE PAPE Gilles lepape.gil...@neuf.fr wrote: Hi, when performing a spearman_test stratified by a given factor in package coin, how is it

Re: [R] How to collect arrays in an array?

2009-01-30 Thread stephen sefick
why not a list? On Fri, Jan 30, 2009 at 10:10 AM, Suresh_FSFM suresh.ghals...@gmail.com wrote: Dear R-Experts, Seek your help. Please let me know how arrays of different sizes can be collected in one array. suppose I want to collect following arrays in one array. How can I do so?

[R] Date functions

2009-01-30 Thread ehxpieterse
Hi there, I am completely new to R and would like to do two things with date functions: 1. Compute any date from a specified starting point, e.g. x - 2 months 2. How do I determine the weekday of any given date? Thanks in advance -- View this message in context:

Re: [R] Date functions

2009-01-30 Thread Gabor Grothendieck
# 1 d - Sys.Date() seq(d, len = 2, by = 2 months)[2] # 2 as.numeric(format(d, %w)) # 0 = Sunday # or format(d, %a) See R News 4/1 for more info and the table at the end of it in particular. On Fri, Jan 30, 2009 at 9:54 AM, ehxpieterse eduard.piete...@macquarie.com wrote: Hi there, I am

Re: [R] How to collect arrays in an array?

2009-01-30 Thread Suresh_FSFM
Thanks for a prompt response. Ok. I see your point. However, then next silly question is how to access these elements of list dynamically? suppose I want to access 3rd item or 3rd element of the list (which would be my array-3 stored at 3rd position in the list). Thank you. Regards, Suresh

[R] simulating outcomes - categorical distribution (?)

2009-01-30 Thread Gonçalo Ferraz
Hi, I am simulating an event that has 15 possible outcomes and I have a vector 'pout' that gives me the probability of each outcome - different outcomes have different probabilities. Does anyone know a simple way of simulating the outcome of my event? If my event had only two possible outcomes

Re: [R] How to collect arrays in an array?

2009-01-30 Thread ONKELINX, Thierry
You'll need the [[ operator. Your.list.name[[3]] gives the third element. ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest Cel biometrie, methodologie en

Re: [R] Rgraphviz install

2009-01-30 Thread Uwe Ligges
June Wong wrote: Hi I've tried several times and followed what others suggest in installing Rgraphviz (https://stat.ethz.ch/pipermail/bioconductor/2008-June/022838.html) But I could not load library(Rgraphviz). There's a message that 'This application has failed to start because

Re: [R] How to collect arrays in an array?

2009-01-30 Thread Suresh_FSFM
Thanks a lot ! :-) Regards, Suresh ONKELINX, Thierry wrote: You'll need the [[ operator. Your.list.name[[3]] gives the third element. ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek /

[R] Analytics Training Institute launches course on R

2009-01-30 Thread Analytics Training
Hi All, Now you can join for R course offered by G K Analytics Training Institute Pvt Ltd. We also provide online training Program for those who are willing to take up this course. To know more about the courses offered visit www.analyticstraining.in You can also mail us your queries at

Re: [R] simulating outcomes - categorical distribution (?)

2009-01-30 Thread Marc Schwartz
on 01/30/2009 09:46 AM Gonçalo Ferraz wrote: Hi, I am simulating an event that has 15 possible outcomes and I have a vector 'pout' that gives me the probability of each outcome - different outcomes have different probabilities. Does anyone know a simple way of simulating the outcome of my

Re: [R] Subsetting without partial matches

2009-01-30 Thread David Winsemius
I have not seen you describe the value of doing partial matching in this application, so pardon this perhaps non-responsive reply: Wouldn't it have been much, much simpler to have used the subset function (which returns a dataframe object) at the first assignment to donotprint? Something

[R] identifying what labels have been created in a plot

2009-01-30 Thread Dennis Fisher
Colleagues R 2.8.0; OS X, Vista, Ubuntu Linux In some instances, when I create a graphic using plot(XVAR, YVAR), it would be valuable to know the values that R will display on the y-axis (e.g., if the range of data is 0-70, it might display 0, 10, 30, 50, 70). Is there a simple means to

[R] paste together object names to pass it on to a function

2009-01-30 Thread stefan.d...@gmail.com
Hello, I have a maybe trivial question, but I simply don't understand well enought how to work with text/strings: I have a rather compelx data structure, a big list with several sub-lists/dataframes and for certain calculations (which I do in loops), I only need a certain group of

Re: [R] identifying what labels have been created in a plot

2009-01-30 Thread jim holtman
It might be easier to generate the plot without the y-axis and then add you data with 'axis' using whatever tick marks you want. On Fri, Jan 30, 2009 at 11:51 AM, Dennis Fisher fis...@plessthan.com wrote: Colleagues R 2.8.0; OS X, Vista, Ubuntu Linux In some instances, when I create a

[R] sub question

2009-01-30 Thread David Hajage
Hello R users, I have a string, for example: x - \t\tabc\t def This string can contain any number of tabulations. I want to replace each tabulation of the begining of the string by the same number of space: abc\t def I'm trying to do this with gsub : gsub(\t, , x) # replace every \t [1]

[R] run query using rexcel runrfile and rodbc sql query

2009-01-30 Thread BrianCBolt
Hi, I'm using R-2.8.1 for windows. I wrote a script calls the RODBC package to run sql queries against an oracle database. It runs fine when run from the rconsole and returns a data.frame with a summary for a set of experiments. I want to run this script using the rinterface.RunRFile

Re: [R] identifying what labels have been created in a plot

2009-01-30 Thread Marc Schwartz
on 01/30/2009 10:51 AM Dennis Fisher wrote: Colleagues R 2.8.0; OS X, Vista, Ubuntu Linux In some instances, when I create a graphic using plot(XVAR, YVAR), it would be valuable to know the values that R will display on the y-axis (e.g., if the range of data is 0-70, it might display 0,

Re: [R] paste together object names to pass it on to a function

2009-01-30 Thread jim holtman
This should do it: ?[[ gnuff-list() gnuff$IHD$LE-66 gnuff$LUNG$LE -55 nam - c(LUNG,IHD) x - numeric(2) # allocate for(i in 1:2) + x[i] - gnuff[[nam[i]]]$LE / 2 x [1] 27.5 33.0 On Fri, Jan 30, 2009 at 12:06 PM, stefan.d...@gmail.com stefan.d...@gmail.com wrote: Hello, I have a

[R] Using Rscript

2009-01-30 Thread Philip Whittall
Dear List, Hopefully someone will point me to a piece of documentation that I have overlooked. I am running Rscript successfully to read and execute an R program, but have failed to find the correct syntax to route the output to a file using the Rscript command that invokes the job. I tried

Re: [R] paste together object names to pass it on to a function

2009-01-30 Thread Patrick Burns
A rule of thumb is that if the solution seems a lot harder than the task, there is probably a better approach. I think you want something like: lapply(gnuff[nam], function(x) x$LE) Patrick Burns patr...@burns-stat.com +44 (0)20 8525 0696 http://www.burns-stat.com (home of The R Inferno and A

Re: [R] Analytics Training Institute launches course on R

2009-01-30 Thread Ajay ohri
Cool nice initiative. Regards, Ajay Rodney Dangerfield - My marriage is on the rocks again, yeah, my wife just broke up with her boyfriend. On Fri, Jan 30, 2009 at 9:46 PM, Analytics Training analyticstraining...@gmail.com wrote: Hi All, Now you can join for R course offered by G K

Re: [R] paste together object names to pass it on to a function

2009-01-30 Thread Gabor Grothendieck
Or perhaps: lapply(gnuff, [[, LE) On Fri, Jan 30, 2009 at 12:35 PM, Patrick Burns pbu...@pburns.seanet.com wrote: A rule of thumb is that if the solution seems a lot harder than the task, there is probably a better approach. I think you want something like: lapply(gnuff[nam], function(x)

Re: [R] princomp - varimax - factanal

2009-01-30 Thread William Revelle
At 3:00 PM +0100 1/30/09, Alberto Maceda Veiga wrote: Hi! I am trying to analyse with R a database that I have previously analysed with SPSS. Steps with SPSS: Factorial analysis Extraction options : I select = Principal component analysis Rotation: varimax Unfortunately, SPSS labels

Re: [R] bootstrapping in regression

2009-01-30 Thread Stephan Kolassa
Hi Thomas, Thomas Mang schrieb: I have a question here: I am not sure if I understand your 'fit the full model ... to the permuted data set'. Am I correct to suppose that once the residuals of the reduced-model fit have been permuted and added back to the fitted values, the values obtained

Re: [R] Matlab inv() and R solve() differences

2009-01-30 Thread Stephan Kolassa
Hi Cleber, there is no hard-and-fast magic number here. Ill-conditioning also depends on what you are trying to do (inference? prediction?). The condition number is only one of a number of conditioning/collinearity diagnostics commonly used. Take a look at: Golub, G. H., Van Loan, C. F.

Re: [R] princomp - varimax - factanal

2009-01-30 Thread Alberto Maceda Veiga
Thank you very much Bill!!! We get it. The results are the same. Best wishes, Alberto 2009/1/30 William Revelle li...@revelle.net At 3:00 PM +0100 1/30/09, Alberto Maceda Veiga wrote: Hi! I am trying to analyse with R a database that I have previously analysed with SPSS. Steps with

Re: [R] paste together object names to pass it on to a function

2009-01-30 Thread David Winsemius
Perhaps this will help: #Data Example gnuff-list() gnuff$IHD$LE-66 gnuff$LUNG$LE -55 #This is the list, where I collect data for different diseases at the #second level of the list #Now I want to do calcualtions just for these two diseases and the #sub-list LE within these diseases nam -

[R] Fitted values and residuals from glmmPQL (MASS package)

2009-01-30 Thread Roberto Patuelli
Dear All, I would like to analyse the residuals from a generalized linear mixed model (GLMM) that I estimated, with random effects, by means of the command glmmPQL, from the MASS package. It is not very clear to me what the actual residuals to analyse are (Y - Yhat): I obtain two columns of

Re: [R] identifying what labels have been created in a plot

2009-01-30 Thread David Winsemius
You might want to look at the pretty function. The code that I have seen often calls that function for the creation of axis tick levels with min and max as arguments. And its help page suggests that axTicks may give you exactly what you were seeking. -- David Winsemius On Jan 30, 2009, at

Re: [R] sub question

2009-01-30 Thread Wacek Kusnierczyk
David Hajage wrote: Hello R users, I have a string, for example: x - \t\tabc\t def This string can contain any number of tabulations. I want to replace each tabulation of the begining of the string by the same number of space: abc\t def I'm trying to do this with gsub : gsub(\t,

Re: [R] Fitted values and residuals from glmmPQL (MASS package)

2009-01-30 Thread Prof Brian Ripley
glmmPQL is a wrapper for lme, so look at its documentation (and the especially the Pinheiro-Bates book). On Fri, 30 Jan 2009, Roberto Patuelli wrote: Dear All, I would like to analyse the residuals from a generalized linear mixed model (GLMM) that I estimated, with random effects, by means

Re: [R] Using Rscript

2009-01-30 Thread Prof Brian Ripley
You use the facilities of your command-line shell. Rscript infile.R outfile works in every one I have seen in recent years, including Windows' cmd.exe (although many people prefer more capable shells on that platform such as tcsh or bash). On Fri, 30 Jan 2009, Philip Whittall wrote: Dear

[R] help with time series

2009-01-30 Thread Steve_Friedman
Hello everyone I'm working with R 2.8.1 on a windows machine I have a question regarding time series analysis The first question is how does R expect the input file to be structured? I'm working with a *.txt file similar to the abbreviated one here: Date,stage 4/2/1953,7.56 4/3/1953,7.56

Re: [R] help with time series

2009-01-30 Thread Mike Lawrence
To seperate the columns, use the sep argument in read.table() mystage - read.table(C:\\Documents and Settings\\skfriedman\\Desktop\\R-scripts\\stage.txt, header = TRUE,sep=',') On Fri, Jan 30, 2009 at 4:17 PM, steve_fried...@nps.gov wrote: Hello everyone I'm working with R 2.8.1 on a

Re: [R] help with time series

2009-01-30 Thread Gabor Grothendieck
Copy and paste this into an R session: Lines - Date,stage 4/2/1953,7.56 4/3/1953,7.56 4/4/1953,7.54 4/5/1953,7.53 4/6/1953,7.5 4/7/1953,7.47 4/8/1953,7.44 4/9/1953,7.41 4/10/1953,7.37 4/11/1953,7.33 4/12/1953,7.3 4/13/1953,7.26 4/14/1953,7.28 4/15/1953,7.28 4/16/1953,7.23 4/17/1953,7.47

[R] Anova and a covariate of no interest

2009-01-30 Thread Patrick Bédard
Hi, I have a design with 1 group and repeated measures and a covariate whose effects I¹d like to remove from the data. I tried different models with aov but am not sure if I did it correctly. The design is thus 4 blocks and n=15 and a covariate ³cov² 1- aov.m =

[R] problem using identify() after plot()

2009-01-30 Thread Christopher W. Ryan
I can't seem to use the point-and-click identify() function properly. I'm running R 2.5.1 (I know, I need to get around to upgrading) under Win XP. The problem is, when I click on a point on the graph, I get an error, no point within 0.25 inches. But in some areas, I can click where there is no

[R] Ancova

2009-01-30 Thread Patrick Bédard
Hello, I have the following ancova: my_ancova = aov(x~a+b) How do I obtain the means of b once the covariate a has been removed? thanks __ Patrick Bédard Ph.D. Dept. of Neuroscience Brown University [[alternative HTML version deleted]]

[R] reshape with two time variables

2009-01-30 Thread Neil Stewart
I have a data frame in wide format that I'd like to convert to long format. For example, in wide format I have: id A1B1A1B2A2B1A2B2 1 1 400 475 420 510 2 2 390 500 470 472 3 3 428 512 555 610 4

Re: [R] Ancova

2009-01-30 Thread John Fox
Dear Patrick, -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Patrick B é dard Sent: January-30-09 6:31 PM To: r-help@r-project.org Subject: [R] Ancova Hello, I have the following ancova: my_ancova = aov(x~a+b) How

Re: [R] non-interactive connection to SQL Server

2009-01-30 Thread jt123
Moshe, Thanks so much for the added comment, I had fallen into the exact same little syntax pitfall. Your clarification really helped! Jack Moshe Olshansky-2 wrote: Yes, it does - thank you! The only thing I forgot (and it took me a while to find this out) was to separate the fields by

Re: [R] reshape with two time variables

2009-01-30 Thread hadley wickham
On Fri, Jan 30, 2009 at 5:57 PM, Neil Stewart neil.stew...@warwick.ac.uk wrote: I have a data frame in wide format that I'd like to convert to long format. For example, in wide format I have: id A1B1A1B2A2B1A2B2 1 1 400 475 420 510 2 2

Re: [R] reshape with two time variables

2009-01-30 Thread jim holtman
This will work: x - read.table(textConnection( id A1B1A1B2A2B1A2B2 + 1 1 400 475 420 510 + 2 2 390 500 470 472 + 3 3 428 512 555 610 + 4 4 703 787 801 822 + 5 5 611

[R] Extracting coordinates for cluster::clusplot()

2009-01-30 Thread Michael Kubovy
Dear Friends, require(cluster) x - rbind(cbind(rnorm(10, 0, 0.5), rnorm(10, 0, 0.5)), cbind(rnorm(15, 5, 0.5), rnorm(15, 5, 0.5))) plot(pp - pam(x, 2), which.plots = 1) How can I extract the coordinates used in the plot? _ Professor Michael Kubovy University of

[R] OT :Interview with the CEO , REvolution Computing : Commercial R launched

2009-01-30 Thread Ajay ohri
Dear List, Please find an interview with Richard Schultz, CEO REvolution Computing. REvolution Computing just launched their latest product, commercial as well as enterprise versions of R which include service contracts and tech support. The interview is viewable at

[R] Corrected Links: OT :Interview with the CEO , REvolution Computing : Commercial R launched

2009-01-30 Thread Ajay ohri
Corrected Links Dear List, Please find an interview with Richard Schultz, CEO REvolution Computing. REvolution Computing just launched their latest product, commercial as well as enterprise versions of R which include service contracts and tech support. The interview is viewable at

Re: [R] Accessing R as a Web service (UNCLASSIFIED)

2009-01-30 Thread Martin Morgan
Neiderer, Andrew (Civ, ARL/CISD) neide...@arl.army.mil writes: Classification: UNCLASSIFIED Caveats: NONE I am new to R and somewhat to Web server programming. I am a Java programmer, however, and have done quite a bit with X3D (extensible 3D) computer graphics. A statistician that

Re: [R] Accessing R as a Web service (UNCLASSIFIED)

2009-01-30 Thread Roy Mendelssohn
Also look at biocep - http://biocep-distrib.r-forge.r-project.org/ -Roy M. On Jan 30, 2009, at 8:52 PM, Martin Morgan wrote: Neiderer, Andrew (Civ, ARL/CISD) neide...@arl.army.mil writes: Classification: UNCLASSIFIED Caveats: NONE I am new to R and somewhat to Web server programming. I am

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

2009-01-30 Thread Liviu Andronic
On 1/30/09, Warren Young war...@etr-usa.com wrote: Could you please share a link to the NY Times article? http://www.nytimes.com/2009/01/07/technology/business-computing/07program.html Also do not miss the follow-up blog from the author, plus the the related comments [1]. Liviu [1]

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

2009-01-30 Thread Liviu Andronic
On 1/30/09, Neil Shephard nsheph...@gmail.com wrote: If they expect you to use Excel for statistics then its worth letting them know that this would be a very bad idea as there are many short-comings, some of which I've referenced at..

[R] need a help with dealing XML

2009-01-30 Thread venkata kirankumar
Hi all, I am trying to read data from a XML file but the thing is when I am trying to read data from XML it is not allowing me to read and store nodes in objects can any one suggest how can i solve this problem. thanks in advance [[alternative HTML version deleted]]