Skip to contents

Random assignment

block_and_cluster_ra()
Blocked and Clustered Random Assignment
block_ra()
Block Random Assignment
cluster_ra()
Cluster Random Assignment
complete_ra()
Complete Random Assignment
simple_ra()
Simple Random Assignment
conduct_ra()
Conduct a random assignment
custom_ra()
Custom Random Assignment
declare_ra()
Declare a random assignment procedure.

Functions for calculating probabilities of assignment

obtain_condition_probabilities()
Obtain the probabilities of units being in the conditions that they are in.
obtain_num_permutations()
Obtain the Number of Possible Permutations from a Random Assignment Declaration
obtain_permutation_matrix()
Obtain Permutation Matrix from a Random Assignment Declaration
obtain_permutation_probabilities()
Obtain the probabilities of permutations
block_and_cluster_ra_probabilities()
probabilities of assignment: Blocked and Clustered Random Assignment
block_ra_probabilities()
probabilities of assignment: Block Random Assignment
cluster_ra_probabilities()
probabilities of assignment: Cluster Random Assignment
custom_ra_probabilities()
probabilities of assignment: Custom Random Assignment
simple_ra_probabilities()
probabilities of assignment: Simple Random Assignment
complete_ra_probabilities()
probabilities of assignment: Complete Random Assignment

Random sampling

draw_rs()
Draw a random sample
simple_rs()
Simple Random Sampling
complete_rs()
Complete Random Sampling
strata_rs()
Stratified Random Sampling
strata_and_cluster_rs()
Stratified and Clustered Random Sampling
declare_rs()
Declare a random sampling procedure.
cluster_rs()
Cluster Random Sampling

Functions for calculating sampling inclusion probabilities

obtain_inclusion_probabilities()
Obtain inclusion probabilities
cluster_rs_probabilities()
Inclusion Probabilities: Cluster Sampling
complete_rs_probabilities()
Inclusion Probabilities: Complete Random Sampling
simple_rs_probabilities()
Inclusion Probabilities: Simple Random Sampling
strata_and_cluster_rs_probabilities()
Inclusion Probabilities: Stratified and Clustered Random Sampling
strata_rs_probabilities()
Inclusion Probabilities: Stratified Random Sampling

Package

randomizr
randomizr