Dear all, I just installed the package hydroPSO and when I try to run the example of the lhoat() function I got this error:
nparam <- 5 lhoat( fn=sphere, lower=rep(-100,nparam), upper=rep(100,nparam), control=list(N=10, f=0.1, write2disk=TRUE) ) *Error in fn.name == "hydromod" : * * comparison (1) is possible only for atomic and list types* Any idea about what it might be? Thank you Rui [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.