Displaying 20 results from an estimated 4000 matches similar to: "Formating the data"
2008 Jul 15
2
Problem installing R on openSUSE 10.3
Dear All,
I am trying to install R 2.7 on my openSUSE 10.3. I have faithfully followed instruction at http://cran.r-project.org/bin/linux/suse/ReadMe.txt. I have downloaded all the RPMs but still R complains about:
libtcl8.4.so is needed by R-base-2.7.1-6.1.i586
I searched for this library and found a one, tcl-8.4.15-22.i586.rpm at openSUSE distribution site and installed. But R still complains
2008 Jul 10
2
false discovery rate !
Dear All,
It is not a typical R question (though I use R for this) but I thought someone will help me. For the list of P values, I have calculated FDR using p.adjust() in R (bioconductor). But my FDR values are same for all the P values. When do we get same FDR values? Does the smallest P values should less than 1/N? (where N is the number of P values)
Thanks in advance.
Kind regards,
Ezhil
2009 Sep 11
3
Working with large matrix
Dear All,
I have large matrix (46000 x 11250). I would like to do the linear regression for each row. I wrote a simple function that has lm() and used apply(mat,1,func). The issue is that it takes ages to load the file and also to finish the lm. I am using LINUX 64 bit with 32G mem. Is there an elegant and fast way of completing this task?
Thanks in advance.
Kind regards,
Ezhil
2007 Apr 27
2
Scatter Plot in R - Help
Dear All,
I am using the following commands to do the scatter
plot of two vectors, say X and Y.
plot(X,Y, col="blue")
abline(a=1,b=1, col="red")
abline(a=-1,b=1, col="green")
I would like to split the scatter plot into 3 part
with 3 different colors: (i) points lies between 2
lines, (ii) points above line 1, and (iii) points
below line 2. I am struggling to do
2005 Oct 26
3
Storing graphics output in PNG format.
Dear All,
How can I store hist() or any plot output graphics in
PNG format? I tried with bitmap() but not getting the
result. Appreciate your help on fixing this.
Thanks in Advance.
Regrads,
Ezhil
2008 Nov 21
2
Extracting diagonal matrix
Dear All,
I have a correlation matrix of size 100 x 100 and would like to extract the diagonal matrix from it. I have used the for loop to store tha correlation values of the diagonal matrix. Is there a 'R way' of doing this?
Thanks in advance.
Kind regards,
Ezhil
2008 Nov 21
2
Calculating correlation for a big matrix
Dear All,
I have a matrix of size 10000 x 50. I would like to calculate all possible pair-wise correlation coefficient (5x10^7 combinations) using cor(). How can I efficiently calcualte and save the result in a matrix?
Thanks in advance.
Kind regards,
Ezhil
2009 Sep 07
2
Averaging rows if a condition is true.
Dear All,
I have matrix (50000 X 60) of subjects and their responses to a set of questions. All responses are classified into categories (500). I would like to average all subject's responses for each category. I wrote a code using a for loop but is not working. Could please tell me what's wrong with the code? I guess, there is a elegant R way of doing the same thing.
Thanks in advance.
2006 Jun 27
1
Boxplot questions.
Dear all,
I am having a data for 2 different treatments with
different time points. So, I used the following code
to plot the boxplot and also to do anova.
T11 <- c(280, 336, 249, 277, 429)
T12 <- c(400, 397, 285, 407, 313)
T13 <- c(725, 373, 364, 706, 249)
T21 <- c(589, 257, 466, 248, 913)
T22 <- c(519, 424, 512, 298, 907)
T23 <- c(529, 479, 634, 354, 1015)
obs <- c(T11,
2007 Mar 28
5
Large matrix into a vector
Hi,
I have a matrix HR(9x27). I would like to make a
single vector with elements: t(HR[,1]) followed by
t(HR[,2]) and then t(HR[,3] ... etc. Is there any neat
way of converting this matrix into a vector rather
doing something like c(t(HR[,1]), t(HR[,2]), t(HR[,3])
..)?
Thanks in Advance.
Kind regards,
Ezhil
____________________________________________________________________________________
2007 Jan 12
5
Popup/Tooltip Dialog windows using AJAX?
Hello,
Can anybody point me to a sample of popup/tooltip using Prototype?
I saw examples for windows and also for tool tip but what I want is a little bit different.
I want the same fuctionality which exists at yahoo mail login.
https://login.yahoo.com/ -> on the right corner you have a Prevent Password Theft image. On mouse over you see a tooltip.
Now the good think in this solution is that
2012 Mar 08
4
Correlation between 2 matrices but with subset of variables
Dear All,
I have two matrices A (40 x 732) and B (40 x 1230) and would like to calculate correlation between them. I can use: cor(A,B, method="pearson") to calculate correlation between all possible pairs. But the issue is that there is one-many specific mappings between A and B and I just need to calculate correlations for those pairs (not all). Some variables in A (proteins, say p1)
2006 May 29
2
newbie question: ROW average
Dimitris Rizopoulos wrote:
> look at ?rowMeans; you can also use "apply(mat, 1, mean)" but
> rowMeans() is better.
By my reading of the question, this is not what
Ezhil wants. He said:
``I have a 992 x 74 matrix. I would like to form a new matrix
by averaging each 4 rows from the original one.''
I.e. he wants (I think) the first row of the new matrix
to be the
2007 Jan 23
0
rsync problem with Samab share - "text file busy"
Hello,
I've got a script set up to back up some of our
server's (CentOS 4.3) directories to a mounted Samba
drive. One of the directories contains the mail and
during the file copy some open mail files are backed
up. However, these files are unable to be deleted from
the mounted drive giving an error "Text file busy."
There's no process id so the CentOS server doesn't
2007 Apr 03
1
realtime problem
Dear
the following is the asterisk's dbase(Mysql5).
if the extension =17171000
asterisk run appdata=222222, but I prefer to run
appdata=3333333.
let me know how I can run the appdata=33333
best
Mani
mysql> select * from ext;
+----+---------+--------+----------+------+---------------------------------------+
| id | context | exten | priority | app | appdata
2007 May 11
0
normal distribution from chisqrd
hie
l have obtained a logrank statistic and would like to get the normal version from the same data eg sqrt(chiqsqr)with 1 df ~n(1,0)
is this possibe using R or Do l have to programme it
thanks
---------------------------------
Bored stiff? Loosen up...
[[alternative HTML version deleted]]
2007 Feb 09
1
Confusion regarding standard file permissions.
Hello,
I am attempting to extend the standard manifest generated by puppetd --genmanifest. Interestingly, it seems like my file configurations are not being honored in terms of permissions and ownership. Instead, the default permissions and owners are being set. Is there some way to override the defaults from within a manifest?
Also, I attempted to use the special parameters in the
2007 Jul 05
2
Custom "Windows Welcome message"
Hello - I running Samba as a PDC on FC6 with roaming profiles. I need to setup a custom Windows logon/welcome message... to tell users want they can expect using this domain. Is it also possible to place different PDF files on the users desktop when he or she logs on, but only referencing one source file, so I don't have a copy for each user?
What is the best approach?
Thank You.
Ralf
2007 May 18
1
xten will not send tones to * and i from sip phone
hi there!
I have a couple phones connected to a sipura ata and
if I go into *- IVR, I press options on the regular
phones and it all works fine and dandy.
then I connect an xten softphone, a new extension in
my dialplan, I dial the ivr, * asks me to dial
something to go through it, I press keys on xten, but
nothing happens, * just times out through as if I did
not press anything!
is there some
2007 Jun 20
0
shoudl I use apply, sapply, etc instead of a "for loop"?
I have been trying to learn the various "apply" functions but am still learning their appropriate use. I appreciate any help the R community can offer me. Sorry for the length of this post.
Background:
I have data on my hard drive organized in the following manner:
The data pertains to many different "samples" of data. (e.g. sample 001, sample, 002, sample 003, etc.)
Each