marginalPwR {triggerstrategy}R Documentation

Marginal Power Rate

Description

This function computes the marginal powers.

Usage

marginalPwR(cvec, t, delta = 0)

Arguments

cvec

a vector of critical boundaries

t

a vector of information times

delta

a number shows the drift paramter

Value

a number shows the marginal power (delta isn't equal to zero) or type I error (delta is zero)

Author(s)

Jiangtao Gou

Examples

marginalPwR(c(2.218,2.218),c(0.1,0.5,1),delta=3)
marginalPwR(1.96,t=1,delta=3)

[Package triggerstrategy version 1.2.0 Index]