Hi, I used the apply()function to compute the maximum of the each row of the matrix, but in my application sometime the matrix has just one row, and the apply() dosen't work. Could you please give me some hints?
thank you khazaei ______________________________________________ [email protected] 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.

