makeColDesc: Make a Column Description in Specified Format

Description Usage Arguments Details Value See Also Examples

Description

The function produces descriptions that are used for making a new column inside the newCols argument in the metaDF2Matrix() function.

Usage

1
makeColDesc(format, colNames)

Arguments

format

Format string.

colNames

Column names

Details

The column names are taken from the data frame of the "metaDF" object. It is a convenience function for specifying the new column format within the metaDF2Matrix() function.

Value

An object of class 'coldesc' with a list of following components:

format

A format string

colNames

A character vector of column names

See Also

makeCIDesc, makeMSDDesc

Examples

1
makeColDesc("Study%s (%.0f,%.0f)", c("study", "n.e", "n.c"))

pmur002/metaplot documentation built on May 25, 2019, 10:21 a.m.