print.rl4: S3 method 'print' for class "rl4"

View source: R/rl4_S3.R

print.rl4R Documentation

S3 method print for class "rl4"

Description

Prints the randomization list including a summary if needed.

Usage

## S3 method for class 'rl4'
print(x, sumry=FALSE, ...)

Arguments

x

Object of class "rl4".

sumry

If set to TRUE a summary of the randomization will be shown.
This summary contains the p-value of runs test of randomness if 2 sequences are used.

...

Additional arguments. None used.

Value

Returns invisible x.

Author(s)

D. Labes

See Also

RL4

Examples

# block randomization of 12 subjects for a reference replicate study
# and demonstration of the S3 print method
rl <- RL4(nsubj=12, blocksize=6, seqs=c("TRR","RTR","RRT"), seed=0)
print(rl, sumry=TRUE)

randomizeBE documentation built on Aug. 19, 2023, 5:12 p.m.