View source: R/Data_handling.R
strip_suffix | R Documentation |
Function removes from variable name the suffix with three indices representing horizontal and vertical placement and number of replicates (_H_V_R suffix used in tower network naming strategy).
strip_suffix(x, warn = FALSE)
x |
A string vector. |
warn |
A logical value |
If warn = TRUE
, it is checked if multiple _H_V_R suffixes were
detected. This might be undesired based on the application.
A string vector with extracted variable codes.
x <- c("TA_1_1_1", "TS_1_1_1", "VPD")
strip_suffix(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.