exactbin | R Documentation |

Exact joint probabilities, for low n,
of the number of crossings C and the longest run L
in n independent Bernoulli observations with success
probability p. Probabilites are multiplied by *2^{n-1}*.

exactbin(n, p = 0.5, prec = 120)

`n` |
number, length of seqience, at most 6. |

`p` |
success probability. |

`prec` |
precision in mpfr calculations. Default 120. |

mpfr array

exactbin(n=6) exactbin(n=5, p=0.6)

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.