Learn R Programming

randomizr (version 1.0.0)

custom_ra: Custom Random Assignment

Description

TODO

Usage

custom_ra(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.

Arguments

permutation_matrix

A permutation matrix

Examples

Run this code
# TODO

Run the code above in your browser using DataLab