Check arguments for their respective condition
check_RET_arguments(sig.level, power, Delta, n, allocation)
A numeric value specifying the significance level (type I error probability)
A numeric value specifying the target power (1 - type II error probability)
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.
The total sample size. Needs to be at least 7.
A (non-empty) vector specifying the sample size allocation (nExp/n, nRef/n, nPla/n)