Learn R Programming

randomizr (version 1.0.0)

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

Description

Generates random assignments for common experimental designs and random samples for common sampling designs.

Copy Link

Version

Install

install.packages('randomizr')

Monthly Downloads

3,030

Version

1.0.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Last Published

August 10th, 2023

Functions in randomizr (1.0.0)

cluster_rs_probabilities

Inclusion Probabilities: Cluster Sampling
block_and_cluster_ra

Blocked and Clustered Random Assignment
cluster_rs

Cluster Random Sampling
complete_ra

Complete Random Assignment
cluster_ra_probabilities

probabilities of assignment: Cluster Random Assignment
cluster_ra

Cluster Random Assignment
block_and_cluster_ra_probabilities

probabilities of assignment: Blocked and Clustered Random Assignment
block_ra_probabilities

probabilities of assignment: Block Random Assignment
complete_ra_probabilities

probabilities of assignment: Complete Random Assignment
block_ra

Block Random Assignment
custom_ra

Custom Random Assignment
obtain_inclusion_probabilities

Obtain inclusion probabilities
obtain_condition_probabilities

Obtain the probabilities of units being in the conditions that they are in.
declare_rs

Declare a random sampling procedure.
custom_ra_probabilities

probabilities of assignment: Custom Random Assignment
draw_rs

Draw a random sample
complete_rs

Complete Random Sampling
declare_ra

Declare a random assignment procedure.
conduct_ra

Conduct a random assignment
complete_rs_probabilities

Inclusion Probabilities: Complete Random Sampling
obtain_permutation_probabilities

Obtain the probabilities of permutations
strata_and_cluster_rs

Stratified and Clustered Random Sampling
strata_and_cluster_rs_probabilities

Inclusion Probabilities: Stratified and Clustered Random Sampling
obtain_permutation_matrix

Obtain Permutation Matrix from a Random Assignment Declaration
obtain_num_permutations

Obtain the Number of Possible Permutations from a Random Assignment Declaration
simple_ra_probabilities

probabilities of assignment: Simple Random Assignment
simple_ra

Simple Random Assignment
strata_rs

Stratified Random Sampling
strata_rs_probabilities

Inclusion Probabilities: Stratified Random Sampling
simple_rs

Simple Random Sampling
simple_rs_probabilities

Inclusion Probabilities: Simple Random Sampling
randomizr

randomizr