Displaying 1 result from an estimated 1 matches for "comulm".
Did you mean:
comm
2011 May 04
0
Fwd: simple question
...1b, M2a, M2b, M3a, M3b)
# matrix operation
nmat <- matrix(c(paste('M', 1:3, 'a', sep = ''), paste('M', 1:3, 'b', sep =
'')), 3)
coffin <- function(x) {
x <- as.vector(x)
d1cf <- ifelse(mydf[x[1]] == mydf[x[2]],0,1) # idea is if first comulm is
equal to second column then the value of d1cf is 0 else is 1
a1cf <- ifelse(mydf[x[1]] > median(mydf[x[1]]), 1, -1) # ??????????? this my
question
# while mydf[x[1]] = mydf[x[2]] and value of
mydf[x[1]] > median(mydf[x[1]]), the value of a1cf is 1 else
# mydf[x[1]] = m...