fastrerandomize_class: Constructor for fastrerandomize randomizations

View source: R/FRR_S3Constructors.R

fastrerandomize_classR 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.


fastrerandomize documentation built on April 4, 2025, 5:10 a.m.