[R] how to find the location of the first TRUE of a logical vector

Jason Liao jg_liao at yahoo.com
Wed Mar 5 22:36:11 CET 2003


without having to check the vector element by element? Thanks a lot!

Jason

=====
Jason G. Liao, Ph.D.
Division of Biometrics
University of Medicine and Dentistry of New Jersey
335 George Street, Suite 2200
New Brunswick, NJ 08903-2688
phone (732) 235-8611, fax (732) 235-9777
http://www.geocities.com/jg_liao



More information about the R-help mailing list