coef.delayedGSD: Treatment Effect Estimates for a Group Sequential Design with...

View source: R/coef.delayedGSD.R

coef.delayedGSDR Documentation

Treatment Effect Estimates for a Group Sequential Design with Delayed Endpoints

Description

Extract estimate relative to the treatment effect at a specific stage of a group sequential design with delayed endpoints. By default extract value for the latest stage that has been performed.

Usage

## S3 method for class 'delayedGSD'
coef(
  object,
  type = "effect",
  planned = NULL,
  predicted = TRUE,
  k = NULL,
  type.k = NULL,
  method = NULL,
  ...
)

Arguments

object

object of class delayedGSD, typically output from CalcBoundaries.

type

[character] Shoudl the estimate effect ("effect"), boundaries ("boundaries"), information ("information"), or decision ("deicsion") be output. The estimate is only displayed for the current stage while the other are displayed for all stages.

planned

[logical] Should the planned or estimated boundaries/information be output.

predicted

[logical] Should the predicted information/boundaries at decision based on interim data be output (when relevant).

k

[integer] stage relative to which the estimates should be output.

type.k

[character] type of stage relative to which the estimates should be output: "interim", "decision", or "final".

method

[character] type of estimate to output: can be "ML" or "corrected ML", the latter accounting for the group sequential design.

...

not used, for compatibility with the generic method.


paulowhite/DelayedGSD documentation built on Nov. 1, 2023, 5:36 p.m.