Usage
custom_ra(permutation_matrix)
Arguments
- permutation_matrix
A permutation matrix
Value
A vector of length N that indicates the treatment condition of each unit. Is numeric in a two-arm trial and a factor variable (ordered by conditions) in a multi-arm trial.