Description Usage Arguments Details Value See Also Examples
The function produces descriptions that are used for making mean and
standard deviation combined columns inside the newCols
argument
in the metaDF2Matrix()
function.
1 2 | makeMSDDesc(col1 = "mean", col2 = "sd",
round = c(1, 2), brackets = c("(", ")"))
|
col1 |
Column name for mean. |
col2 |
Column name for standard deviation. |
round |
Numeric vector specyfying rounding for each column. |
brackets |
Character vector for the type of brackets to use on either side of the standard deviation. |
The column names are taken from the data frame of the "metaDF"
object. It is a convenient function for specifying the new column
format within the metaDF2Matrix()
function.
An object of class "coldesc"
with a list of following
components:
format |
A format string |
colnames |
A character vector of column names |
1 | makeMSDDesc("mean.e", "sd.e", c(1, 2), c(" (", ")"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.