Closed biscotty666 closed 5 months ago
http://rafalab.dfci.harvard.edu/dsbook-part-2/prob/discrete-probability.html#monte-carlo-example
(hands[1] %in% aces & hands[2] %in% facecard) | (hands[2] %in% aces & hands[1] %in% facecard) #> [1] FALSE
I'm almost certain that hand and not hands is what is meant.
hand
hands
Thank you for the wonderful book.
Thanks for finding and reporting this. I have made the change locally and will push to GitHub soon.
http://rafalab.dfci.harvard.edu/dsbook-part-2/prob/discrete-probability.html#monte-carlo-example
I'm almost certain that
hand
and nothands
is what is meant.Thank you for the wonderful book.