Thanks for the suggestion. The solution below is much better than my
round-about way.
combn(outcomes, 2, list )
I can't do much about the speed of combn() so I wanted to trim the fat
wherever else I could.
C
On 17 November 2010 15:10, Charles C. Berry wrote:
>
> On Wed, 17 Nov 2010, Chris Carl
On Wed, 17 Nov 2010, Chris Carleton wrote:
Hi List,
I'm hoping to get opinions for enhancing the efficiency of the following
code designed to take a vector of probabilities (outcomes) and calculate a
union of the probability space. As part of the union calculation, combn()
must be used, which r
Hi List,
I'm hoping to get opinions for enhancing the efficiency of the following
code designed to take a vector of probabilities (outcomes) and calculate a
union of the probability space. As part of the union calculation, combn()
must be used, which returns a matrix, and the parallelized version
3 matches
Mail list logo