set_n {psborrow} | R Documentation |
Simulate external trial indicator and treatment arm indicator
Description
This function conducts validity check and generates a matrix with two binary variables indicating
if the observation belongs to the external trial
if the observation belongs to the treatment arm.
Usage
set_n(ssC, ssE, ssExt)
Arguments
ssC |
Number of observations in the internal control arm. Default is 100 |
ssE |
Number of observations in the internal experiment arm. Default is the same number
of observations as |
ssExt |
Number of observations in the external control arm. Default is the same number
of observations as |
Value
A matrix
containing external trial indicator and treatment indicator
[Package psborrow version 0.2.1 Index]