check_RET_arguments: check_RET_arguments

Description Usage Arguments

Description

Check arguments for their respective condition

Usage

1
check_RET_arguments(sig.level, power, Delta, n, allocation)

Arguments

sig.level

A numeric value specifying the significance level (type I error probability)

power

A numeric value specifying the target power (1 - type II error probability)

Delta

A numeric value specifying the non-inferiority or superiority margin. Is between 0 and 1 in case of non-inferiority and larger than 1 in case of superiority.

n

The total sample size. Needs to be at least 7.

allocation

A (non-empty) vector specifying the sample size allocation (nExp/n, nRef/n, nPla/n)


ThreeArmedTrials documentation built on May 2, 2019, 3:28 p.m.