Displaying 3 results from an estimated 3 matches for "baranan".
2010 Oct 25
2
Find index of a string inside a string?
...;) 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 want to use the return value in substr, like I do in SAS.
thanks, y. baranan.
[[alternative HTML version deleted]]
2011 May 05
3
cross-correlation table with subscript or superscript to indicate significant differences
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 in the same row. That is, when correlations in the same row do not share superscript, it means
2011 Apr 20
2
get cells by the combination of their column and row names
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')))> mtrx r132 r233 r432c132 1 4 7c432 2