fastrerandomize_class {fastrerandomize}R Documentation

Constructor for fastrerandomize randomizations

Description

Create an S3 object of class fastrerandomize_randomizations that stores the randomizations (and optionally balance statistics) generated by functions such as generate_randomizations.

Usage

fastrerandomize_class(
  randomizations,
  balance = NULL,
  fastrr_env = NULL,
  call = NULL
)

Arguments

randomizations

A matrix or array where each row (or slice) represents one randomization.

balance

A numeric vector or similar object holding balance statistics for each randomization, or NULL if not applicable.

fastrr_env

Associated fastrr_env environment.

call

The function call, if you wish to store it for reference (optional).

Value

An object of class fastrerandomize_randomizations.


[Package fastrerandomize version 0.2 Index]