Displaying 2 results from an estimated 2 matches for "donohoaplhaon".
2009 May 04
1
wrong if-else syntax
...ment_10
} # end IF_2
} else { # ELSE_1
statement_11
} # end IF_1
It looks like R interpret does not like the above syntax. In fact in my script I have the following instructions:
if (DonohoAplhaON){
tms <<- xx[,"sampamp"] #EXTRACT SIGNAL AMPLITUDE
tmsLen <<- length(tms)
J <<- ilogb(tmsLen, base=2)
if (logb(tmsLen, base=2)%%2 > 0) {
J <<- J + 1
}
rm(x...
2009 May 05
1
self organizing map advice for categorical data
...# end IF_2
> } else { # ELSE_1
> statement_11
> } # end IF_1
>
>
> It looks like R interpret does not like the above syntax. In fact in my script I have the following instructions:
>
> if (DonohoAplhaON){
> tms <<- xx[,"sampamp"] #EXTRACT SIGNAL AMPLITUDE
> tmsLen <<- length(tms)
> J <<- ilogb(tmsLen, base=2)
> if (logb(tmsLen, base=2)%%2 > 0) {
> J <<-...