Displaying 2 results from an estimated 2 matches for "normalization2".
Did you mean:
normalization
2012 Apr 05
1
Sum of sd between matrix cols vs spearman correlation between them
...me the same after operations
(normalization). So to compare operations,
I do this for each normalization:
s= sum (apply (normalized.matrix, 2,sd))
c= cor (normalized[,1],normalized [,2], method='pearson')
I expect that if normalization 1 is superior, s should be less and c greater
than normalization2, but both s and c change in 1 direstion. Is this
possible or am I doing something wrong?
Thank you in advance.
--
View this message in context: http://r.789695.n4.nabble.com/Sum-of-sd-between-matrix-cols-vs-spearman-correlation-between-them-tp4535057p4535057.html
Sent from the R help mailing l...
2012 Mar 25
2
avoiding for loops
I have data that looks like this:
> df1
group id
1 red A
2 red B
3 red C
4 blue D
5 blue E
6 blue F
I want a list of the groups containing vectors with the ids. I am
avoiding subset(), as it is
only recommended for interactive use. Here's what I have so far:
df1 <- data.frame(group=c("red", "red", "red", "blue",