decklength)
> colSums(currentdeck) %in% pow10x5
> })
> })
> apply(singlecolor, 2, mean) ## colMeans()
> mean(apply(singlecolor, 2, mean))
>
>
> Note that the real speed gain is in colSums, all the rest gave me around 1.5
> secs or 5% only.
>
> Rui Barradas
>
> Em
Dear List Members
I used to play around with R to answer the following question by
simulation (I am aware there is an easy explicit solution, but this is
intended to serve as instructional example).
Suppose you have a poker game with 6 players and a deck of 52 cards.
Compute the empirical frequ
On Thu, Feb 10, 2011 at 8:43 PM, Marc Schwartz wrote:
>
> n Feb 10, 2011, at 12:13 PM, Ben Bolker wrote:
[...]
Dear Ben, Dear Marc
Thank you very much!
Best,
Simon
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
P
Dear List Members
Upfront: I am not sure if this is the right place to ask this question even
after reading through the FAQ, so apologies if I should have directed the
question elsewhere.
My problem as follows: I need a modified version of some existing R package.
I am well able to make the mod
4 matches
Mail list logo