Displaying 2 results from an estimated 2 matches for "step3allcoefon".
2009 May 04
1
wrong if-else syntax
...List <- FindBestWavelet (X,tmsLen,J,Step1NumHighScalesOFF)
if (!is.null(BestWavList)) { #COMPUTE SIGNAL DONOHO-ALPHA
features.mat[ns,"alpha"]<- CalcDonohoAlpha(rawtms,BestWavList$No,J,tmsLen,Step3NumHighScalesOFF,Step3AllCoefON)
} else {
cat("\n\n Could not compute Best Wavelet Basis for Signal: ",fln," Skip current signal! \n\n")
next
}
} else {
features.mat[ns,"alpha"] <- NA
}
It keeps printing out an error referred to the second " } else {&q...
2009 May 05
1
self organizing map advice for categorical data
...FindBestWavelet (X,tmsLen,J,Step1NumHighScalesOFF)
> if (!is.null(BestWavList)) { #COMPUTE SIGNAL DONOHO-ALPHA
> features.mat[ns,"alpha"]<- CalcDonohoAlpha(rawtms,BestWavList$No,J,tmsLen,Step3NumHighScalesOFF,Step3AllCoefON)
> } else {
> cat("\n\n Could not compute Best Wavelet Basis for Signal: ",fln," Skip current signal! \n\n")
> next
> }
> } else {
> features.mat[ns,"alpha"] <- NA
> }
>
> It keeps printing out an e...