[R] Parametric tests

2011-10-29 Thread Cem Girit
Hello, I am interested in parametric multi comparison tests such as Dunnett, Duncan, Tukey, Newman-Keuls, Bonferonni, Scheffe, and non-parametric tests such as Kruskal-Wallis, and Mann-Whitney U. Are there packages that include most of these tests in each category? Many packages

Re: [R] Matching

2011-10-29 Thread Joshua Wiley
Hi Shishm, Part of what you do seems reasonable. My guess is that: o <- match(OID_, OID_) is not doing what you want/think. What happens when you look at the results? e.g.,: print(o) You use that later on as row and column indices to extract from m, to create m1. The fact taht mat2listw co

Re: [R] Unscribe me please!

2011-10-29 Thread Joshua Wiley
Dear Mahesh, What you have done is the social equivalent of walking into a large retail store, getting on the store intercom, and saying, so that thousands of customers can hear you, "Kindly get me out of this store". There are two problems with this: 1) It is inconsiderate to bother thousands o

Re: [R] Plot genes on chr locations

2011-10-29 Thread R. Michael Weylandt
Perhaps this question is better suited for the bioconductor list: they can probably get you an answer quickly. Michael On Oct 29, 2011, at 3:10 PM, lumos wrote: > Hello, > > I have a list of genes in a txt file and the chromosome locations where they > occur. I want to make a plot that will

[R] Unscribe me please!

2011-10-29 Thread Mahesh Krishnan
-- Hello, Kindly unsubscribe me from R emailing list And confirm me by email I do not want any further email Regards Mahesh Krishnan __ The information of this email is strictly confidential and may be legally privileged. It is intended solely for the addres

[R] Redundancy canonical analysis plot problem in 3D using VEGAN

2011-10-29 Thread Thomas . Rousseaubeaumier
Hi Guys, First, English is not my native language so sorry if the question is too difficult to understand. I can rephrase it if necessary. I have 32-bit Windows Xp SP3, i use R version 2.12.0 (2010-10-15), and the question is about Redundancy canonical analysis  plot problem in 3D using VEG

Re: [R] How to plot survival data from multiple trials (simulations)?

2011-10-29 Thread Lancaster, Robert (Orbitz)
Oh sorry, I misread. You'll only be able to get the confidence interval out of the object returned by survfit. From: Zheng Lu [mailto:luy...@hotmail.com] Sent: Saturday, October 29, 2011 1:04 PM To: Lancaster, Robert (Orbitz); r-help@r-project.org Subject: RE: [R] How to plot survival data from

[R] Plot genes on chr locations

2011-10-29 Thread lumos
Hello, I have a list of genes in a txt file and the chromosome locations where they occur. I want to make a plot that will show all the chromosomes (1-22,X,Y) and the genes which occur in that chr position. Does anyone know if it can be done in R? -- View this message in context: http://r.78969

Re: [R] Extracting data by row

2011-10-29 Thread William Dunlap
You didn't show the details of what you did before Ten<-dataTable1[(dataTable1$sensor_depth_m=="10"),] but that line makes me suspicious that you did some experimentation with syntax before coming up with that line. In particular, why did you use parentheses around (dataTable1$sensor_depth_m

Re: [R] Matching

2011-10-29 Thread Daniel Malter
Your post is unlikely to solicit a helpful response. As you do not adhere to the posting guide, it is quite impossible for us to figure out from your description what is going wrong. Please provide a self-contained example that reproduces the problem (i.e., code with simulated or actual data that w

Re: [R] How to plot survival data from multiple trials (simulations)?

2011-10-29 Thread Zheng Lu
Thank you very much for your consideration and response. you are right and the codes you provided was the one I am using now. But my question is if I simulate 1000 trials (due to limited space, I only provide the results here from 2 trials), TRL is from 1 to 1000 in the dataset, how can I creat

Re: [R] installing FastRWeb

2011-10-29 Thread Ranjan Maitra
Hi, I don't know what FastRWeb does, but it appears to me that you need the developmental files for Cairo installed. I don't use ubuntu, but perhaps installing cairo-dev might help? HTH, Ranjan On Sat, 29 Oct 2011 11:24:04 -0500 financial engineer wrote: > > hi, > > I am working on Ubuntu an

Re: [R] installing FastRWeb

2011-10-29 Thread financial engineer
I understand... can you please tell me where I can locate those to be able to install them. I am not familiar with X11. > Date: Sat, 29 Oct 2011 19:46:16 +0200 > From: lig...@statistik.tu-dortmund.de > To: fin_e...@hotmail.com > CC: r-help@r-project.org > Subject: Re: [R] installing FastRWeb >

Re: [R] installing FastRWeb

2011-10-29 Thread financial engineer
hi Uwe, thanks for your response. I ran the following as per the instructions on the Cairo website: sudo apt-get install libcairo2-dev following which I tried to install FastRWeb again (hopefully I have not missed any steps in between)can you pls. tell me how I can fix this error..

Re: [R] installing FastRWeb

2011-10-29 Thread Uwe Ligges
On 29.10.2011 19:48, financial engineer wrote: I understand... can you please tell me where I can locate those to be able to install them. I am not familiar with X11. Depends on the OS, if this is Ubuntu, probably in libxt-dev So go ahead with apt-get install libxt-dev and please do not

Re: [R] installing FastRWeb

2011-10-29 Thread Uwe Ligges
A missing X11/Intrinsic.h: suggests you also have to install some X11 header files that are still missing ... Uwe Ligges On 29.10.2011 19:44, financial engineer wrote: hi Uwe, thanks for your response. I ran the following as per the instructions on the Cairo website: sudo apt-get i

Re: [R] Graphics Reciprocal labeling

2011-10-29 Thread Hurr
I need just a little more education. I still haven't got back into attempting R programs, but I have appreciated your information. The linear-in-frequency horizontal-axis scale is natural for frequency analysis, and so labeling in period is applicable. Also applicable for better view is an exponen

Re: [R] installing FastRWeb

2011-10-29 Thread Uwe Ligges
Please do read the output, it tells you: Please install cairo (http://www.cairographics.org/) and/or set CAIRO_CFLAGS/LIBS correspondingly. And that is exactly what you need to do, it cannot be solved by installing R packages Best, Uwe Ligges On 29.10.2011 18:24, financial engineer wr

Re: [R] lme4 + R 2.11.0 + mac unavailable

2011-10-29 Thread Uwe Ligges
On 29.10.2011 18:33, ADosmann wrote: I had a similar problem installing lme4 on my mac in R 2.12.1. The information on this thread helped me troubleshoot the problem, but I arrived at a different solution. When I tried to load lme4 from the source as advised by one author, it failed and I got

Re: [R] How to plot survival data from multiple trials (simulations)?

2011-10-29 Thread Lancaster, Robert (Orbitz)
I'm assuming you want to plot the Kaplan-Meier curves. First, load your data into a data.frame, e.g. surv_data It looks like ST is your survival time and ind is your event indicator. The following code should get you started: # create your survival object: mySurv = Surv(surv_data$ST,surv_data

[R] installing FastRWeb

2011-10-29 Thread financial engineer
hi, I am working on Ubuntu and tried to install FastRWeb, but am getting the following error for installation of cairo.h. install.packages("FastRWeb",dep=TRUE) Installing package(s) into ‘/home/ba/R/i686-pc-linux-gnu-library/2.12’ (as ‘lib’ is unspecified) also installing the dependency ‘Cair

Re: [R] lme4 + R 2.11.0 + mac unavailable

2011-10-29 Thread ADosmann
I had a similar problem installing lme4 on my mac in R 2.12.1. The information on this thread helped me troubleshoot the problem, but I arrived at a different solution. When I tried to load lme4 from the source as advised by one author, it failed and I got an error message regarding the package '

[R] Luis Miguel Delgado Gomez/BBK está ausente de la oficina.

2011-10-29 Thread Luis Miguel Delgado Gomez
__ 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] R help with different combinations of vectors of different sizes

2011-10-29 Thread uka
Thank you very much both! That's exactly what I was trying to get. -- View this message in context: http://r.789695.n4.nabble.com/R-help-with-different-combinations-of-vectors-of-different-sizes-tp3950940p3950997.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] Email out of R (code)

2011-10-29 Thread Uwe Ligges
R has packages for almost everything, so there is "sendmailR" Uwe Ligges On 28.10.2011 20:04, MacQueen, Don wrote: The various suggestions seem kind of complex to me, at least on a unix-like system (including Mac OS X). This is what I do: sink('tmp.txt') cat('This is the body of th

Re: [R] R help with different combinations of vectors of different sizes

2011-10-29 Thread David Winsemius
On Oct 29, 2011, at 9:08 AM, Suleyman K wrote: Hi, I am trying to get different combinations of a vector of different size and find their sum. For example, if I have a vector (i,j) where i and j can be anything from 0 to 5, i get these combinations (0,0), (0,1), (1,0), (1,1), (2,0),

Re: [R] R help with different combinations of vectors of different sizes

2011-10-29 Thread William Dunlap
Another approach is to use expand.grid to create a data.frame of all possible combinations of elements of its input vectors: rowSums(expand.grid(0:5, 0:5, 0:5)) Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-h

Re: [R] R help with different combinations of vectors of different sizes

2011-10-29 Thread R. Michael Weylandt
Just add another outer wrapper: outer(1:5, outer(1:5, 1:5, "+"), "+") If you are going to arbitrarily long tuples, it may be worthwhile to put this in a wrapper like so: tupleSums <- function(vec, n){ stopifnot(all.equal(n, as.integer(n))) n <- as.integer(n) if (n == 1L) return(ve

[R] R help with different combinations of vectors of different sizes

2011-10-29 Thread Suleyman K
Hi, I am trying to get different combinations of a vector of different size and find their sum. For example, if I have a vector (i,j) where i and j can be anything from 0 to 5, i get these combinations (0,0), (0,1), (1,0), (1,1), (2,0), .. (5,5) and find sum of these as 0, 1, 1, 2, . , 10.

Re: [R] Correllogram of Daily Time Series

2011-10-29 Thread R. Michael Weylandt
I'm not an expert on these things, but I don't believe so. acf/pacf doesn't require a ts object so it doesn't really need things to fit the exact nuances of the ts class. You may have to be a little careful in interpretation however depending on the nature of the irregular spacing, but that's going

Re: [R] Split an array into arbirtary sizes

2011-10-29 Thread R. Michael Weylandt
The short answer is that you need to use the window() command with ts objects. The (ever so slightly) longer answer is that no one really likes ts objects and that's why a proliferation of contributed packages exist to deal with their "idiosyncracies". The most popular for finance are zoo and xts

Re: [R] Contrasts with an interaction. How does one specify the dummy variables for the interaction

2011-10-29 Thread Mark Difford
John, There is a good example of one way of doing this in "multcomp-examples.pdf" of package multcomp. See pages 8 to 10. Regards, Mark. - Mark Difford (Ph.D.) Research Associate Botany Department Nelson Mandela Metropolitan University Port Elizabeth, South Africa -- View this message in con

Re: [R] Graphics Reciprocal labeling

2011-10-29 Thread Hurr
Thank you both so very much. -- View this message in context: http://r.789695.n4.nabble.com/Graphics-Reciprocal-labeling-tp3949054p3950480.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.e

Re: [R] program never enters browser mode when I add browser()

2011-10-29 Thread Patrick Burns
I see two possibilities: 1) the call to 'browser' is inside an 'if' clause that doesn't exectute. 2) the call forgets the parentheses, so it is: browser rather than browser() On 28/10/2011 20:04, M. Tran wrote: Dear All I have a program that breaks at the following lines of code: big

Re: [R] Sweave absolute path versus relative path

2011-10-29 Thread Duncan Murdoch
On 11-10-29 1:58 AM, Trevor Davies wrote: Sorry, I should have really started a new thread with this because really it is a new question only loosely related to the first Q. Thanks for the assist. I haven't looked at the Sweave sources, so I don't know why a relative path is needed, but I thin

Re: [R] Add col in data.frame

2011-10-29 Thread Smart Guy
Hi Jim, I am sorry for the typo. Thats 'newcolm' everywhere. Thanks for the help. I think this should work now. :) Thanks and Regards SmartG On 29 October 2011 13:34, Jim Lemon wrote: > On 10/29/2011 06:54 PM, Smart Guy wrote: > >> Hello Gurus, >> I am still new to R. Her

Re: [R] Add col in data.frame

2011-10-29 Thread Jim Lemon
On 10/29/2011 06:54 PM, Smart Guy wrote: Hello Gurus, I am still new to R. Here is my issue. I was trying to add column to data frame that was populated by read.spss(). When I used cbind to add a new variable(column). library(foreign) mydf<-read.spss(file="C:/myspss.sav",use.val

[R] Add col in data.frame

2011-10-29 Thread Smart Guy
Hello Gurus, I am still new to R. Here is my issue. I was trying to add column to data frame that was populated by read.spss(). When I used cbind to add a new variable(column). library(foreign) mydf<-read.spss(file="C:/myspss.sav",use.value.labels=FALSE, to.data.frame=TRUE,use.miss

Re: [R] Extracting data by row

2011-10-29 Thread Rainer Schuermann
On Friday 28 October 2011 18:04:59 Vinny Moriarty wrote: > Thanks everyone for you help with my last question, and now I have one > last one... Here is what I would do, based on my understanding of your question: # your data snippet as data frame > x site time_localtime_utc

Re: [R] alternative option in skewness and kurtosis tests?

2011-10-29 Thread peter dalgaard
On Oct 25, 2011, at 18:23 , Xiang Gao wrote: > I have a question about the D'Agostino skewness test and the Anscombe-Glynn > kurtosis test. > > > agostino.test(x, alternative = c("two.sided", "less", "greater")) > > anscombe.test(x, alternative = c("two.sided", "less", "greater")) > > The opt