inst/snippet/freethrow04.R

1 - pbinom(8,10,0.8)            # make at least 9 of 10
1 - pbinom(17,20,0.8)           # make at least 18 of 20

Try the fastR package in your browser

Any scripts or data that you put into this service are public.

fastR documentation built on May 2, 2019, 5:53 p.m.