Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

# TODO

randomizr

Easy-to-Use Tools for Common Forms of Random Assignment and Sampling

v0.20.0
MIT + file LICENSE
Authors
Alexander Coppock [aut, cre], Jasper Cooper [ctb], Neal Fultz [ctb] (C version of restricted partitions)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.