negative_values_to_na: Negative Values to NA

View source: R/set_negative_values_to_na.R

negative_values_to_naR Documentation

Negative Values to NA

Description

Allows for the user to define any numeric variables they would like to change to NA if the value of that variable is less than 0

Usage

negative_values_to_na(.data, ...)

Arguments

.data

A data frame, data frame extension (e.g. a tibble), or a lazy data frame (e.g. from dbplyr or dtplyr).

...

any numeric variables where negative values should be set to NA


NeuroShepherd/RankinLabTools documentation built on Sept. 23, 2022, 5:31 p.m.