crossrun (version 0.1.0)

crossrunshift: wrapper for crossrunbin, succes probability=pnorm(shift).

Description

wrapper for crossrunbin, succes 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

Run this code
# NOT RUN {
crs20 <- crossrunshift(nmax=20,printn=TRUE)
print(crs20$pt[[20]])
# }

Run the code above in your browser using DataLab