Hi all,I was wondering if it was possible to get R to throw an error if a certain condition was reached. For example:
if dim(A)[2]<=1
error("Need a matrix not a vector")
thanks,
Sachin
______________________________________________
[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.

