Description Usage Arguments Examples
Reads a data frame and calculates the exponential value (basex) for
the defined columns. Non-numeric columns can be excluded by adding the column name
in exclusion vector. For partial matching of column names use
complete_match = FALSE
. See calc_exp_vec
.
1 2 |
x |
Input data frame. It can contain also non-numeric columns. |
base |
Base number for which you will calculate the exponential value. Default value is 2. |
sub |
Character string to substitute in column names. Default is empty |
replacement |
Character string to replace the substituted one. Default is empty. |
exclusion |
Vector containing labels from the columns that should be excluded. Even a part of the label is enough. |
complete_match |
Logical with default value |
append |
Logical with default value |
1 2 3 4 5 6 | y1 <- calc_exp_df(x = my_data,
base = 2,
sub = "norm_log_",
replacement = "norm_",
exclusion = colnames(y)[1:3],
complete_match = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.