Generic function that calculates the cumulative alpha and beta spending

Share:

Description

Calculates the cumulative alpha and beta spending

Usage

1
seqmon(a, b, t, int = rep(500, length(t)))

Arguments

a

upper boundaries

b

lower boundaries

t

time of looks

int

number of intervals that the Z-space is partitioned into

Value

numeric

Examples

1
2
3
4
5
6
t<-c(0.33,0.67,1)
f<- function(t) 0.025*t^4
g<-function(t) 0.20*t^3
a<-f(t)
b<-g(t)
seqmon(a, b, t, int = rep(500, length(t)))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.