Displaying 3 results from an estimated 3 matches for "mymat2".
Did you mean:
mymat
2012 Mar 20
1
Remove individual rows from a matrix based upon a list
...0 0 0 1 0.07 0 J644807 0 0 0.14 0 0 0.07 1 0 J644813 0.4 0.07 0 0 0 0 0 1
Example list of individuals to be removed
MyList
E985088
F952477
F952478
If I were to do this by hand it would look like
MyMat1 <- MyMatrix[!rownames(MyMatrix)%in% "E985088",]
colSums(MyMat1)
MyMat2 <- MyMatrix[!rownames(MyMatrix)%in% " F952477 ",]
colSums(MyMat2)
MyMat3 <- MyMatrix[!rownames(MyMatrix)%in% " F952478 ",]
colSums(MyMat3)
How might I replace the individual ids (in quotes) with a list and remove
rows corresponding to that list from the matrix for the...
2009 Dec 04
2
how to seperate a matrix
Hello,
I am working on seperate the matrix to two matrices but got trouble on doing
it. Please give me some suggestions on doing this. Thanks a looooooooooooot!
My original matrix m is as follows for example,
[,1] [,2] [,3]
[1,] 6 8 1
[2,] 5 9 2
[3,] 20 10 3
[4,] 7 11 4
[5,] 8 12 5
[6,] 25 13 6
[7,] 14 14 7
I want to generate two
2007 Jul 13
1
correlation matrix difference
Hi, I have got four correlation matrix. They are the same set of variables
under different conditions. Is there a way to test whether the correlation
matrix are significently different among each other? Could
anyone give me some advice?
--
View this message in context: http://www.nabble.com/correlation-matrix-difference-tf4073868.html#a11578046
Sent from the R help mailing list archive at