Learn R Programming

randomizr (version 0.16.1)

custom_ra: Custom Random Assignment

Description

TODO

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.

Examples

Run this code
# NOT RUN {
# TODO
# }

Run the code above in your browser using DataLab