Displaying 1 result from an estimated 1 matches for "gmda".
Did you mean:
gcda
2006 Jun 13
3
if syntax error :(
...if
statement. I come from a perl background so that's probably my problem! :)
So here is my code:
if (any(lgAB>4) | any(lgAB<-4)){
freq_AB<-hist(lgAB, type="o", plot=F)
else
freq_AB<-hist(lgAB, breaks=br,type ="o", plot=F)
}
And I get
> source("E:/R/GMDA-1.1.R")
Error in parse(file, n = -1, NULL, "?") : syntax error at
11: freq_AB<-hist(lgAB, type="o", plot=F)
12: else
>
Thanks again,