implement_negative_values_to_zero: Apply recoding negative values to zero

View source: R/transformations.R

implement_negative_values_to_zeroR Documentation

Apply recoding negative values to zero

Description

\lifecycle

experimental Applies the recoding of negative values into zeroes in a variable of a single file.

Usage

implement_negative_values_to_zero(file, file_name, variable)

Arguments

file

A LIS or LWS file.

file_name

The name of the LIS or LWS file

variable

A string with the variable to which recoding should be applied.

Details

To be used inside transform_negative_values_to_zero().

Value

A file with the recoded variable.


JosepER/lissyrtools documentation built on Jan. 26, 2025, 10:01 p.m.