Re: [R] Issue with results from 'summary' function in R

2015-09-19 Thread Praveen Surendran
ne may be no >more than asking him to perform a post-mortem examination: he may be >able to say what the experiment died of. ~ Sir Ronald Aylmer Fisher >The plural of anecdote is not data. ~ Roger Brinner >The combination of some data and an aching desire for an answer does >not

[R] Issue with results from 'summary' function in R

2015-09-18 Thread Praveen Surendran
Hi all, Attached table (that contains summary for a genetic association study) was read using the command: test <- read.table('testDat.txt',header=FALSE,stringsAsFactors=FALSE) Results from the summary of the attached table is provided below: > summary(test$V5) Min. 1st Qu. MedianMean

Re: [R] Matrix Multiplication using R.

2013-08-15 Thread Praveen Surendran
...@illinois.edu] Sent: 14 August 2013 23:06 To: Praveen Surendran Cc: r-help@r-project.org Subject: Re: [R] Matrix Multiplication using R. In the event that these are moderately sparse matrices, you could try Matrix or SparseM. Roger Koenker rkoen...@illinois.edu On Aug 14, 2013, at 10:40 AM

[R] Matrix Multiplication using R.

2013-08-14 Thread Praveen Surendran
Dear all, I am exploring ways to perform multiplication of a 9 x 4 matrix with it's transpose. As expected even a 4 x 100 %*% 100x4 didn't work on my desktop... giving the error Error: cannot allocate vector of length 16 However I am trying to run this on one node (64GB

[R] Opening SAS file using read.sas7bdat() function in sas7bdat library.

2012-10-29 Thread Praveen Surendran
Hi, I have a file in .sas7bdat format. I tried to open this file using read.sas7bdat() function. This gave me an error - Error in read.sas7bdat(bnp_genetic.sas7bdat) : unknown host X64_7PRO. Could someone tell me what this error means? Thank you, Praveen.

Re: [R] Opening SAS file using read.sas7bdat() function in sas7bdat library.

2012-10-29 Thread Praveen Surendran
: 29 October 2012 19:14 To: Duncan Murdoch Cc: Praveen Surendran; r-help@r-project.org Subject: Re: [R] Opening SAS file using read.sas7bdat() function in sas7bdat library. On Oct 29, 2012, at 2:04 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 29/10/2012 2:54 PM, Marc Schwartz wrote

[R] create string with using paste.

2011-03-29 Thread Praveen Surendran
Hi, I am trying to create a string - Double quotes : using paste. a command something like paste('Double','quotes : \',sep= ) prints Double quotes : \ where backslash is also printed. Is there a way to print just ? Regards, Praveen. [[alternative HTML version deleted]]

[R] Getting dates in an SPSS file in right format.

2010-05-18 Thread Praveen Surendran
me to solve this problem. Kind Regards, Praveen Surendran 2G, Complex and Adaptive Systems Laboratory (UCD CASL) School of Medicine and Medical Sciences University College Dublin Belfield, Dublin 4 Ireland. Office : +353-(0)1716 5334 Mobile : +353-(0)8793 13071

[R] Reading .sav (SPSS) files.

2009-11-12 Thread Praveen Surendran
with the method read.spss() to get date variables in the right format? Thanks in advance. Kind Regards, Praveen Surendran 2G, Complex and Adaptive Systems Laboratory (UCD CASL) School of Medicine and Medical Sciences University College Dublin Belfield, Dublin 4 Ireland

[R] Replacing multiple elements in a vector !

2009-10-22 Thread Praveen Surendran
is to replace rs.id vector with corresponding 'SNP_' ids in snp.id. Thanks in advance. Praveen Surendran 2G, Complex and Adaptive Systems Laboratory (UCD CASL) School of Medicine and Medical Sciences University College Dublin Belfield, Dublin 4 Ireland. [[alternative HTML

[R] Getting indeices of intersecting elements.

2009-10-14 Thread Praveen Surendran
Hi, Is there a command to get the indices of intersecting elements of two vectors as intersect() will give the elements and not its indices. Thanks in advance. Praveen Surendran School of Medicine and Medical Sciences University College Dublin Belfield, Dublin 4 Ireland

[R] index of intersect()

2009-08-09 Thread Praveen Surendran
Hi all, Is there a way to get the index of elements in intersect(x,y) where x and y are vectors with few common elements. Appreciate your response. Praveen Surendran. [[alternative HTML version deleted]] __ R-help@r-project.org

[R] Finding missing elements by comparing vectors

2009-07-16 Thread Praveen Surendran
Hi, Is there a function in R to do a-b where a and b are two non-numeric sets (or intersection complement of these two sets). Kind Regards, Praveen. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

[R] R regular expression to extract words with the query string.

2009-07-08 Thread Praveen Surendran
comments. Praveen Surendran School of Medicine and Medical Sciences University College Dublin Belfiled, Dublin 4 Ireland. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

[R] R regular expression to extract words with the query string.

2009-07-08 Thread Praveen Surendran
To: praveen.surend...@ucd.ie Cc: r-help@r-project.org Subject: Re: [R] R regular expression to extract words with the query string. Try this: sapply(strsplit(i, ' '), grep, pattern='ENSP', value = T) On Wed, Jul 8, 2009 at 10:04 AM, Praveen Surendran praveen.surend...@ucd.ie wrote: Hi, Is there a way

[R] Alternate ways of finding number of occurrence of an element in a vector.

2009-06-19 Thread Praveen Surendran
while dealing with a large vector. Please have your comments. Praveen Surendran. [[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