Learn R Programming

triggerstrategy (version 1.2.0)

marginalPwR: Marginal Power Rate

Description

This function computes the marginal powers.

Usage

marginalPwR(cvec, t, delta = 0)

Value

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

Arguments

cvec

a vector of critical boundaries

t

a vector of information times

delta

a number shows the drift paramter

Author

Jiangtao Gou

Examples

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

Run the code above in your browser using DataLab