Skip to contents

The goal of CRXO is to provide functions for Cluster randomised crossover trials.

Installation

You can install the development version of CRXO like so:

remotes::install_github("lan-k/CRXO")

Example

This is a basic example which shows you how to solve a common problem:

library(CRXO)
## sample size for fixed number of clusters

CRXO_samp(0.01,0.005,10,5000)
#> [1] 520