Learn R Programming

stoppingrule (version 0.6)

table.rule.surv: Tabulate Stopping Rule (Survival data)

Description

Summarize a stopping rule in a condensed tabular format

Usage

table.rule.surv(rule, dec = 0)

Value

A matrix with two columns: total follow up time and their corresponding rejection boundary

Arguments

rule

A rule.surv object calculated by calc.rule.surv() function

dec

Number of decimal places to which the stagewise total follow-up times should be rounded

Examples

Run this code
if (FALSE) gp_rule = calc.rule.surv(n=50,p0=0.20,alpha=0.10,type="GP",tau=100,param=c(1,1000))
table.rule.surv(gp_rule,2)

Run the code above in your browser using DataLab