Re: [R] Problem with allp ossible combination.

From: Ido M. Tamir <tamir_at_imp.univie.ac.at>
Date: Mon 31 Jul 2006 - 18:55:28 EST

>Now I want get a-b for all possible combinations of a and b.

outer(a,b,"-")

hth
ido



R-help@stat.math.ethz.ch 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. Received on Mon Jul 31 20:00:38 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 31 Jul 2006 - 20:33:53 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.