Learn R Programming

rpact (version 3.3.4)

ConditionalPowerResults: Conditional Power Results

Description

Class for conditional power calculations

Arguments

Fields

nPlanned

The new sample size planned for each of the subsequent stages.

allocationRatioPlanned

The planned allocation ratio n1/n2 for a two treatment groups design, default is 1. Is a numeric vector of length 1.

iterations

The number of iterations used for simulations. Is an integer of length 1.

seed

The seed used for random number generation. Is a numeric vector of length 1.

simulated

Logical. Describes if the power for Fisher's combination test has been simulated. Only applicable when using Fisher designs.

conditionalPower

The conditional power at each stage of the trial. Is a numeric vector of length kMax.

thetaH1

For survival designs, refers to the hazard ratio. Is a numeric vector of length 1.

assumedStDev

The assumed standard deviation. Is a numeric vector of length 1.

Details

This object cannot be created directly; use getConditionalPower() with suitable arguments to create the results of a group sequential or a combination test design.