Description Usage Arguments Value Examples
View source: R/replace_maximum_value_in_metric.R
Replaces all values of a tidycyte metric above a specified threshold with a replacement value.
1 | replace_maximum_value_in_metric(.df, .max, .replace, ...)
|
.df |
A data frame containing tidycyte data. |
.max |
A numeric value specifying the maximum. Values are replaced if they are over this value, but not if they are equal to this value. |
.replace |
A numeric replacement value |
... |
< |
A dataframe with adjusted metrics
1 | df %>% replace_maximum_value_in_metric(50,50,Confluence,mAzalea,`h2-3`)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.