randlist2envelopes: Create randomization envelopes from a list of blockrand...

View source: R/blockrand2randlist.R

randlist2envelopesR Documentation

Create randomization envelopes from a list of blockrand generated data.frame

Description

Create randomization envelopes from a list of blockrand generated data.frame

Usage

randlist2envelopes(
  x = NULL,
  path_prefix = "/tmp/envelopes",
  study_acronym = "",
  export = TRUE,
  env_params = list()
)

Arguments

x

a single data.frame or a named randlist (that is a data.frame with id and treatment columns). Names are used for file naming

path_prefix

path prefix of the files to save in (overwriting the contents).

study_acronym

a character vector used as acronym

export

logical recycled, wheter to export or not a list (used to export selectively)

env_params

list of parameters passed to blockrand::plotblockrand


lbraglia/lbrct documentation built on July 7, 2023, 6:39 a.m.