simtestp: Simulation of Time-to-Event P-Values

Description Usage Arguments Details Value Examples

View source: R/simtestp.R

Description

Description here

Usage

1
2
simtestp(x, anaT = NULL, anaD = NULL, anatype = "event",
  method = NULL, stratum = NULL, fparam = NULL, d = NULL)

Arguments

x

list genearted by simulation

anaT

Calendar time for reporting, testing, and boundary crossing probability when a gsDesign object is specified.

anaD

Events driven for reporting, testing, and boundary crossing probability when a gsDesign object is specified.

anatype

use specified timing(anaT) if 'calendar'; use specified # of events(anaD) if 'event'

method

statistical testing on simulated data.

stratum

TBD

fparam

TBD

d

A gsDesign object as input. Timing/Events and the boundary will be used.

Details

simulation test: provide # of events/timing at specified timing/# of events; provide HR and p-value at specified timing/events; provide boundary crossing probability (experimental: cannot update boundary at different # of events)

Value

A

Examples

1
# examples here

keaven/nphsim documentation built on May 24, 2020, 9:34 p.m.