Takes blocks and returns them in a wide format
Usage
trans_block_to_wide(
blocks,
wellnames_sep = "",
nested_metadata = NULL,
colnames_first = FALSE
)Arguments
- blocks
Blocks, either a single
data.frameor alistofdata.frames- wellnames_sep
stringto use as separator for well names between row name and column name (ordered according tocolnames_first- nested_metadata
A
logicalindicating the existence of nested metadata in the blockmeasureslist, e.g. as is typically output by read_blocks. IfNULL, will attempt to infer existence of nested metadata- colnames_first
In the wellnames created by paste-ing the rownames and column names, should the column names come first?