Re: [R] DNA sequence Fst

2010-08-23 Thread Keo Ormsby
Hi Blue Jay, If your sequences are small (<10Kb) and you have a few samples (~100) the seqinr package from CRAN itself is a very straightforward way of handling DNA sequences, but if you plan to do more sophisticated things that can drain your RAM and processor time, I would definitely recomm

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-22 Thread Keo Ormsby
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Ivan Calandra Sent: Sunday, June 20, 2010 3:47 PM To: r-help@r-project.org Subject: Re: [R] Popularity of R, SAS, SPSS, Stata... Bob, I have no idea whether it is realistic, but if

Re: [R] two questions for R beginners

2010-03-02 Thread Keo Ormsby
Liviu Andronic escribió: On Mon, Mar 1, 2010 at 11:49 PM, Liviu Andronic wrote: On 3/1/10, Keo Ormsby wrote: Perhaps my biggest problem was that I couldn't (and still haven't) seen *absolute beginners* documents. there was once a link posted on r-sig-teaching

Re: [R] two questions for R beginners

2010-03-01 Thread Keo Ormsby
Liviu Andronic escribió: On 3/1/10, Keo Ormsby wrote: Perhaps my biggest problem was that I couldn't (and still haven't) seen *absolute beginners* documents. Perhaps http://www.r-tutor.com/? Also recently a webinar on R [2] was held and it hosts complete course notes and

Re: [R] two questions for R beginners

2010-03-01 Thread Keo Ormsby
Patrick Burns escribió: * What were your biggest misconceptions or stumbling blocks to getting up and running with R? * What documents helped you the most in this initial phase? I especially want to hear from people who are lazy and impatient. Feel free to write to me off-list. Definitely wri

Re: [R] Method

2009-11-24 Thread Keo Ormsby
yonosoyelmejor escribió: Hello, i would like to ask you another question. Is exist anymethod to vectors that tells me the last element?That is to say,I have a vector, I want to return the position of last element. I hope having explained. A greeting, Ignacio. vect1 <- c(1,2,3) vect1[length(v

Re: [R] Reading data

2009-09-23 Thread Keo Ormsby
Hello Ashta, You need to use double blackslashes, liike: "C:\\Documents and Settings\\ashta\\MyDocuments\\R_data\\rel.dat" I usually use the following to avoid writing the path: #select file from a popup window f <- file.choose() #read the file. the is Rese for any other arguments e.g.

Re: [R] wilcox.test p-value = 0

2009-09-18 Thread Keo Ormsby
Hello, Thanks for the correction, sorry Murat I was mistaken. Actually your answers solved me a problem I was having using multiple fisher.test() on nucleic acid sequences, where we come up with hundreds of thousands of p values, a lot of which are 0's. Since we have to correct for multiple te

Re: [R] wilcox.test p-value = 0

2009-09-18 Thread Keo Ormsby
Hello Thomas and Bryan, Thanks for the correction, sorry Murat I was mistaken. Actually your answers solved me a problem I was having using multiple fisher.test() on nucleic acid sequences, where we come up with hundreds of thousands of p values, a lot of which are 0's. Since we have to correct

Re: [R] wilcox.test p-value = 0

2009-09-15 Thread Keo Ormsby
Hi Murat, I am not an expert in either statistics nor R, but I can imagine that since the default is exact=TRUE, It numerically computes the probability, and it may indeed be 0. if you use wilcox.test(x, y, exact=FALSE) it will give you a normal aproximation, which will most likely be differen

Re: [R] psi not functioning in nlrob?

2009-08-13 Thread Keo Ormsby
me with this one please? Thanks in advance, Xiao On Wed, Aug 12, 2009 at 11:47 PM, Keo Ormsby wrote: You have to install MASS package first. Hope this does the trick. Best, Keo. Xiao Xiao wrote: Hi all, I'm trying to fit a nonlinear regression by "nlrob": model3=nlrob

Re: [R] psi not functioning in nlrob?

2009-08-12 Thread Keo Ormsby
You have to install MASS package first. Hope this does the trick. Best, Keo. Xiao Xiao wrote: Hi all, I'm trying to fit a nonlinear regression by "nlrob": model3=nlrob(y~a1*x^a2,data=transient,psi=psi.bisquare, start=list(a1=0.02,a2=0.7),maxit=1000) However an error message keeps popping up

Re: [R] Import more than one sheet in a single excel file

2009-08-11 Thread Keo Ormsby
rajclinasia escribió: Hi Every one, my question is, How to Import more than one sheet in a single excel file (e.g. 10 sheets in one excel file) into R and create datasets for all the sheets in a single excel file without specifying the sheetnames. Thank you in Advance. Hello, One way is to use