Learn R Programming

pscDesign (version 1.0.0)

trialSamp: Evaluation of a sampled dataset within pscDesign

Description

trialSamp evaluates a sampled dataset and returns the reuslts

Usage

trialSamp(
  CFM,
  n0,
  n1,
  beta,
  fuTime,
  recTime,
  rec,
  nsim.psc = 750,
  burn.psc = 250
)

Value

The number of events as well as estimates of the posterior mean and standard deviation

Arguments

CFM

a Counter-Factual model

n0

number of patients allocated to the control arm (defaults to 0 - i.e. single arm study).

n1

number of patients allocated to the experimental arm

beta

the (log) HR used in the study design

fuTime

Follow up time for the study design

recTime

Recruitment time for the study design

rec

a study recruitment estimate obtained using the recForcast() function. If specified, recTime will be ignored.

nsim.psc

number of simulations to use in psc estimation

burn.psc

burn in to use in psc estimation