Displaying 1 result from an estimated 1 matches for "sp_b".
Did you mean:
sp_2
2008 Jun 23
2
Pairwise Partitioning of a Vector
....9 93.1 97.6 98.8
part2 = 113.9
I'm stuck with this kind of loop:
__BEGIN__
# gexp is a Vector
process_two_partition <- function(gexp) {
sort.gexp <- sort(as.matrix(gexp))
print(sort.gexp)
for (posb in 1:ncol(gexp)) {
for (pose in 1:ncol(gexp)) {
sp_b <- pose+1
sp_e <- ncol(gexp)
# This two doesn't do what I want
part1 <- sort.gexp[posb:pose]
part2 <- sort.gexp[sp_b:sp_e]
# we later want to process part1 and part2 separately
}
}
}
__END__
- Gundala Viswanath
Jakar...