View source: R/transformations.R
transform_negative_values_to_zero | R Documentation |
experimental Recodes all negative values to zero for all files in a list.
transform_negative_values_to_zero(lissy_files, variable)
lissy_files |
A list of LIS or LWS files. |
variable |
A character string with the name of the variable that should be transformed. |
A list of tibbles with the recoded variable.
## Not run:
library(dplyr)
library(magrittr)
lissy_files <- read_lissy_files(c("fr84h", "fr94h", "fr10h"))
lissy_files %<>%
transform_negative_values_to_zero(variable = "dhi")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.