View source: R/get_FSdata_helpers.R
| process_conf_force_expr | R Documentation |
Evaluates a cut expression (e.g., "age <= mean(age)") and returns the expression with the value.
process_conf_force_expr(expr, df)
expr |
Character string of the cut expression. |
df |
Data frame. |
Character string with evaluated value.
df <- data.frame(age = c(40, 55, 70, 35), size = c(20, 30, 25, 15))
process_conf_force_expr("age <= mean(age)", df)
process_conf_force_expr("size <= median(size)", df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.