toStratumString: Create a string describing the stratum from a one-row data...

Description Usage Arguments Value Examples

View source: R/blockrand2_main.R

Description

Create a string describing the stratum from a one-row data frame

Usage

1
toStratumString(stratumInfo)

Arguments

stratumInfo

data frame with one row and stratum information in all but the very first (stratum) and the very last (n) column.

Value

character string of the form attribute1 = value1, attribute2 = value2, etc.

Examples

1
2
3
4
5
6
7
8
stratumInfo <- data.frame(
 stratum = "S01",
 sex = "male",
 pretreatment = "no",
 n = 5
)

toStratumString(stratumInfo)

hsonne/blockrand2 documentation built on May 17, 2019, 6:16 p.m.