crossrunshift {crossrun} | R Documentation |
wrapper for crossrunbin, success probability=pnorm(shift).
Description
wrapper for crossrunbin, success probability=pnorm(shift).
Usage
crossrunshift(nmax = 100, shift = 0, mult = 2, prec = 120, printn = FALSE)
Arguments
nmax |
max sequence length. |
shift |
mean of normal distribution. |
mult |
multiplier for joint probabilities. |
prec |
mpft precision. |
printn |
logical for progress output. |
Value
list pt of joint probabilities. Cumulative probabilities qt within each row are also included. Further, mostly for code checking, lists pat and qat conditional on starting with a success, and pbt and qbt conditional of starting with a failure, are included.
Examples
crs15 <- crossrunshift(nmax=15,printn=TRUE)
print(crs15$pt[[15]])
[Package crossrun version 0.1.1 Index]