Hi, I wonder whether the following is possible with R, and whether anyone has
done that and can share his/her code with me. I have a correlation matrix, and
I want to create a correlation table that I can copy to Microsoft Word with a
superscript above each correlation, indicating significant
differences
Date: Thu, 5 May 2011 12:17:25 -0400
On May 5, 2011, at 10:48 AM, yoav baranan wrote:
Hi, I wonder whether the following is possible with R, and whether
anyone has done that and can share his/her code with me. I have a
correlation matrix, and I want to create a correlation
Hi,
I have a (correlation) matrix and I want to select a subset of its cells
depending on the combination of their column and row names.
This illustrates my problem: mtrx - matrix(c(1,2,3,4,5,6,7,8,9), nrow=3,
ncol=3, dimnames = list(c('c132','c432', 'c233'), c('r132','r233', 'r432')))
Hi,
I am searching for the equivalent of the function Index from SAS.
In SAS: index(abcd, bcd) will return 2 because bcd is located in the 2nd
cell of the abcd string.
The equivalent in R should do this:
myIndex - foo(abcd, bcd) #return 2.
What is the function that I am looking for?
I
wink: A1.056, Coupure Links 653, 9000 Gent
ring: 09/264.59.36
-- Do Not Disapprove
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of yoav baranan
Sent: maandag 25 oktober 2010 13:27
To: r-help@r-project.org
Subject: [R
what you want is 'regexpr':
regexpr(bcd, aabcd)
[1] 3
attr(,match.length)
[1] 3
On Mon, Oct 25, 2010 at 7:27 AM, yoav baranan ybara...@hotmail.com wrote:
Hi,
I am searching for the equivalent of the function Index from SAS.
In SAS: index(abcd, bcd) will return 2 because bcd
6 matches
Mail list logo