QR_fun: Calculateion of Q or R

View source: R/QR_fun.R

QR_funR Documentation

Calculateion of Q or R

Description

This is the function to compute Q or R, which is required for the Mann-Whitney-Wilcoxon test.

Usage

QR_fun(p1, p2)

Arguments

p1

A vector containing the probabilities of the outcome falling into each level of the control arm.

p2

A vector containging the probabilities of the outcome falling into each level of the control arm.

Value

The value of Q or R.


OptOTrials documentation built on Sept. 9, 2025, 5:46 p.m.