lastRandomization: A function to return details of the last randomized subject

Description Usage Arguments Value Author(s) Examples

Description

A function to return details of the last randomized subject

Usage

1

Arguments

object

An object of class PocockSimonRandomizer

Value

A one row data frame with named variables.

Author(s)

Balasubramanian Narasimhan

Examples

1
2
3
4
5
6
expt <- ClinicalExperiment(number.of.factors = 3,
                           number.of.factor.levels = c(2, 2, 3),
                           number.of.treatments = 3)
r.obj <- new("PocockSimonRandomizer", expt, as.integer(12345))
r.obj <- randomize(r.obj, "Subject-001", c("1","2","2"))
lastRandomization(r.obj)

SRS documentation built on May 2, 2019, 5:21 p.m.