Install fastrerandomize

Get set up with the Fast Rerandomization package in just a few simple steps

Install fastrerandomize

To install and load fastrerandomize, follow these steps:

  1. Open your preferred R editor.

  2. If you haven't installed devtools already, begin by doing so:

    install.packages("devtools")
  3. Install the latest package version from GitHub (a CRAN version is also available):

    devtools::install_github(repo = "cjerzak/fastrerandomize-software/fastrerandomize")
  4. Load the package:

    library(fastrerandomize)
  5. When running code for the first time, create the computational environment:

    fastrerandomize::build_backend()
  6. Rerandomize!

Installation Tips

  • Ensure you have R version 4.0 or higher installed.
  • The package setup requires Python dependencies which will be automatically installed.
  • If you encounter any errors during installation, check our troubleshooting guide.
  • For GPU acceleration, make sure you have appropriate CUDA drivers installed.

What's Next?

Read Documentation

Explore the comprehensive documentation to learn about all the features and functions available.

View Docs

Follow Tutorials

Work through our step-by-step tutorials to get familiar with rerandomization techniques.

Start Learning

View Examples

Check out example code snippets and real-world applications to jumpstart your projects.

See Examples