checkMonoDCF: Check the monotonicity of the sample space ordering.

Description Usage Arguments Details Value Author(s) References Examples

Description

checkMonoDCF checks the monotonicity of the sample space ordering defined based on inverse normal combination function (see Nhacolo and Brannath, 2018).

Usage

1
checkMonoDCF(d, verbose = TRUE)

Arguments

d

Dataframe containing one of the designs in EKOADwn.

verbose

If TRUE (default) messages about monotonicity will be printed.

Details

The monotonicity is with respect to the stage 2 number of successes.

Value

A list containing a dataframe (mono) with detailed info, and a logical variable notmono indicating wether non-monotonicity was concluded.

Author(s)

Arsenio Nhacolo

References

Nhacolo, A. and Brannath, W. Interval and point estimation in adaptive Phase II trials with binary endpoint. Stat Methods Med Res, 2018.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
#Check for all Englert and Kieser designs
notmov <- c()
for (i in 1:max(EKOADwn$id)){
  notmov <- c(notmov,checkMonoDCF(EKOADwn[EKOADwn$id==1,],verbose=FALSE)[[2]])
}
isMonotone <- !any(notmov);isMonotone

## End(Not run)

arsenionhacolo/InferenceBEAGSD documentation built on May 9, 2019, 4:10 a.m.